Skip to content

Commit

Permalink
Merge pull request #89 from github/ikewalker-patch-1
Browse files Browse the repository at this point in the history
Set explicit permissions for workflow
  • Loading branch information
caol-ila authored Nov 18, 2024
2 parents 42ac2b6 + 0168f73 commit 455541e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ on:
release:
types: [published]

permissions: write-all

jobs:
build:
runs-on: ubuntu-latest
Expand All @@ -20,4 +22,4 @@ jobs:
- name: Pack nugets
run: dotnet pack -c Release --no-build --output .
- name: Push to NuGet
run: dotnet nuget push "*.nupkg" --api-key ${{secrets.NUGET_API_KEY}} --source https://api.nuget.org/v3/index.json
run: dotnet nuget push "*.nupkg" --api-key ${{secrets.NUGET_API_KEY}} --source https://api.nuget.org/v3/index.json

0 comments on commit 455541e

Please sign in to comment.