Skip to content

Commit

Permalink
Update actions permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
mhelleborg authored Jan 15, 2025
1 parent 39063f0 commit 897c949
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,13 @@ on:
release:
types: [ published ]


env:
DOTNET_VERSION: '9.0.x'
SOLUTION_FILE: ""

permissions:
contents: read

jobs:
build_and_test:
name: Build, Test and Release
Expand Down Expand Up @@ -68,4 +70,4 @@ jobs:

- name: Publish
if: github.event_name == 'release'
run: dotnet nuget push packages/*.nupkg -k ${{ secrets.NUGET_API_KEY }} -s https://api.nuget.org/v3/index.json
run: dotnet nuget push packages/*.nupkg -k ${{ secrets.NUGET_API_KEY }} -s https://api.nuget.org/v3/index.json

0 comments on commit 897c949

Please sign in to comment.