mirror of
				https://code.forgejo.org/actions/forgejo-release.git
				synced 2025-11-04 06:41:57 +02:00 
			
		
		
		
	test: Add download test for slash tags
This commit is contained in:
		
							parent
							
								
									f8222f6bf2
								
							
						
					
					
						commit
						0553b25c00
					
				
					 1 changed files with 13 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -91,5 +91,18 @@ jobs:
 | 
			
		|||
      - if: ${{ !startsWith(github.ref, 'refs/tags/v') }}
 | 
			
		||||
        run: |
 | 
			
		||||
          diff -u upload-dir-v2 download-dir-v2
 | 
			
		||||
      - if: ${{ !startsWith(github.ref, 'refs/tags/v') }}
 | 
			
		||||
        id: release-download-with-slash-in-tag
 | 
			
		||||
        uses: SELF@vTest
 | 
			
		||||
        with:
 | 
			
		||||
          direction: download
 | 
			
		||||
          tag: a/v3.0
 | 
			
		||||
          token: FORGEJO_TEST_TOKEN
 | 
			
		||||
          release-dir: download-dir-v3a
 | 
			
		||||
          download-latest: true
 | 
			
		||||
          verbose: true
 | 
			
		||||
      - if: ${{ !startsWith(github.ref, 'refs/tags/v') }}
 | 
			
		||||
        run: |
 | 
			
		||||
          diff -u upload-dir download-dir-v3a
 | 
			
		||||
      - if: failure()
 | 
			
		||||
        run: docker logs forgejo
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue