mirror of
				https://code.forgejo.org/actions/forgejo-release.git
				synced 2025-11-04 06:41:57 +02:00 
			
		
		
		
	chore(upgrade): setup-forgejo@v3.0.0 has FORGEJO_TEST_TOKEN not FORGEJO_TOKEN
This commit is contained in:
		
							parent
							
								
									6cee17773c
								
							
						
					
					
						commit
						c9e9a405cd
					
				
					 5 changed files with 11 additions and 11 deletions
				
			
		| 
						 | 
				
			
			@ -6,7 +6,7 @@ jobs:
 | 
			
		|||
      - uses: actions/checkout@v4
 | 
			
		||||
 | 
			
		||||
      - id: forgejo
 | 
			
		||||
        uses: https://code.forgejo.org/actions/setup-forgejo@v2.0.13
 | 
			
		||||
        uses: https://code.forgejo.org/actions/setup-forgejo@v3.0.0
 | 
			
		||||
        with:
 | 
			
		||||
          user: testuser
 | 
			
		||||
          password: admin1234
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -12,7 +12,7 @@ jobs:
 | 
			
		|||
    steps:
 | 
			
		||||
      - uses: actions/checkout@v4
 | 
			
		||||
      - id: forgejo
 | 
			
		||||
        uses: https://code.forgejo.org/actions/setup-forgejo@v2.0.13
 | 
			
		||||
        uses: https://code.forgejo.org/actions/setup-forgejo@v3.0.0
 | 
			
		||||
        with:
 | 
			
		||||
          user: testuser
 | 
			
		||||
          password: admin1234
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -99,7 +99,7 @@ jobs:
 | 
			
		|||
        with:
 | 
			
		||||
          direction: upload
 | 
			
		||||
          tag: v1.2
 | 
			
		||||
          token: FORGEJO_TOKEN
 | 
			
		||||
          token: FORGEJO_TEST_TOKEN
 | 
			
		||||
          release-dir: upload-dir
 | 
			
		||||
          release-notes: "RELEASE NOTES"
 | 
			
		||||
          gpg-private-key: ${{ env.gpg_private_key }}
 | 
			
		||||
| 
						 | 
				
			
			@ -110,7 +110,7 @@ jobs:
 | 
			
		|||
        with:
 | 
			
		||||
          direction: download
 | 
			
		||||
          tag: v1.2
 | 
			
		||||
          token: FORGEJO_TOKEN
 | 
			
		||||
          token: FORGEJO_TEST_TOKEN
 | 
			
		||||
          release-dir: download-dir
 | 
			
		||||
          verbose: true
 | 
			
		||||
      - if: ${{ !startsWith(github.ref, 'refs/tags/v') }}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -34,7 +34,7 @@ jobs:
 | 
			
		|||
        with:
 | 
			
		||||
          direction: upload
 | 
			
		||||
          tag: v1.1
 | 
			
		||||
          token: FORGEJO_TOKEN
 | 
			
		||||
          token: FORGEJO_TEST_TOKEN
 | 
			
		||||
          release-dir: upload-dir
 | 
			
		||||
          release-notes: "RELEASE NOTES"
 | 
			
		||||
          gpg-private-key: ${{ env.gpg_private_key }}
 | 
			
		||||
| 
						 | 
				
			
			@ -46,7 +46,7 @@ jobs:
 | 
			
		|||
        with:
 | 
			
		||||
          direction: download
 | 
			
		||||
          tag: v1.1
 | 
			
		||||
          token: FORGEJO_TOKEN
 | 
			
		||||
          token: FORGEJO_TEST_TOKEN
 | 
			
		||||
          release-dir: download-dir
 | 
			
		||||
          verbose: true
 | 
			
		||||
      - if: ${{ !startsWith(github.ref, 'refs/tags/v') }}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -13,7 +13,7 @@ jobs:
 | 
			
		|||
        with:
 | 
			
		||||
          direction: upload
 | 
			
		||||
          tag: v1.0
 | 
			
		||||
          token: FORGEJO_TOKEN
 | 
			
		||||
          token: FORGEJO_TEST_TOKEN
 | 
			
		||||
          release-dir: upload-dir
 | 
			
		||||
          release-notes: "RELEASE NOTES"
 | 
			
		||||
          verbose: true
 | 
			
		||||
| 
						 | 
				
			
			@ -23,7 +23,7 @@ jobs:
 | 
			
		|||
        with:
 | 
			
		||||
          direction: upload
 | 
			
		||||
          tag: v1.0
 | 
			
		||||
          token: FORGEJO_TOKEN
 | 
			
		||||
          token: FORGEJO_TEST_TOKEN
 | 
			
		||||
          release-dir: upload-dir
 | 
			
		||||
          release-notes-assistant: true
 | 
			
		||||
          hide-archive-link: true
 | 
			
		||||
| 
						 | 
				
			
			@ -35,7 +35,7 @@ jobs:
 | 
			
		|||
        with:
 | 
			
		||||
          direction: upload
 | 
			
		||||
          tag: v2.0
 | 
			
		||||
          token: FORGEJO_TOKEN
 | 
			
		||||
          token: FORGEJO_TEST_TOKEN
 | 
			
		||||
          release-dir: upload-dir-v2
 | 
			
		||||
          release-notes: |-
 | 
			
		||||
            No shell expansion should on these notes:
 | 
			
		||||
| 
						 | 
				
			
			@ -51,7 +51,7 @@ jobs:
 | 
			
		|||
        with:
 | 
			
		||||
          direction: download
 | 
			
		||||
          tag: v1.0
 | 
			
		||||
          token: FORGEJO_TOKEN
 | 
			
		||||
          token: FORGEJO_TEST_TOKEN
 | 
			
		||||
          release-dir: download-dir
 | 
			
		||||
          verbose: true
 | 
			
		||||
      - if: ${{ !startsWith(github.ref, 'refs/tags/v') }}
 | 
			
		||||
| 
						 | 
				
			
			@ -62,7 +62,7 @@ jobs:
 | 
			
		|||
        uses: SELF@vTest
 | 
			
		||||
        with:
 | 
			
		||||
          direction: download
 | 
			
		||||
          token: FORGEJO_TOKEN
 | 
			
		||||
          token: FORGEJO_TEST_TOKEN
 | 
			
		||||
          release-dir: download-dir-v2
 | 
			
		||||
          download-latest: true
 | 
			
		||||
          verbose: true
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue