Skip to content

Commit

Permalink
Changing nuget token.
Browse files Browse the repository at this point in the history
  • Loading branch information
bgriggs committed May 4, 2024
1 parent 64cb763 commit 123baa7
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/publish-nuget.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,11 @@ jobs:
uses: actions/setup-dotnet@v4
with:
dotnet-version: '8.0.x'
env:
NUGET_AUTH_TOKEN: ${{secrets.NUGET_TOKEN}}
- name: Restore dependencies
run: dotnet restore
- name: Build
run: dotnet build JetdriveSharp/JetdriveSharp.csproj --no-restore --configuration Release
- name: Create the package
run: dotnet pack JetdriveSharp/JetdriveSharp.csproj --configuration Release
- name: Publish the package to Nuget
run: dotnet nuget push JetdriveSharp\bin\Release\*.nupkg -s https://api.nuget.org/v3/index.json
run: dotnet nuget push JetdriveSharp\bin\Release\*.nupkg -s https://api.nuget.org/v3/index.json --api-key ${{secrets.NUGET_TOKEN}}

0 comments on commit 123baa7

Please sign in to comment.