mirror of https://github.com/actions/setup-go.git
				
				
				
			Merge pull request #500 from actions/Jcambass-patch-1
Add workflow file for publishing releases to immutable action package
This commit is contained in:
		
						commit
						df1a11710e
					
				|  | @ -0,0 +1,22 @@ | ||||||
|  | name: 'Publish Immutable Action Version' | ||||||
|  | 
 | ||||||
|  | on: | ||||||
|  |   release: | ||||||
|  |     types: [created] | ||||||
|  | 
 | ||||||
|  | jobs: | ||||||
|  |   publish: | ||||||
|  |     runs-on: ubuntu-latest | ||||||
|  |     permissions: | ||||||
|  |       contents: read | ||||||
|  |       id-token: write | ||||||
|  |       packages: write | ||||||
|  | 
 | ||||||
|  |     steps: | ||||||
|  |       - name: Checking out | ||||||
|  |         uses: actions/checkout@v4 | ||||||
|  |       - name: Publish | ||||||
|  |         id: publish | ||||||
|  |         uses: actions/publish-immutable-action@0.0.1 | ||||||
|  |         with: | ||||||
|  |           github-token: ${{ secrets.GITHUB_TOKEN }} | ||||||
		Loading…
	
		Reference in New Issue
	
	 Joel Ambass
						Joel Ambass