Skip to content

Commit

Permalink
Cleanup the flow
Browse files Browse the repository at this point in the history
  • Loading branch information
konraddysput committed Jul 2, 2024
1 parent 335a104 commit fbd1d41
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,9 @@ jobs:
run: dotnet build ./Backtrace/Backtrace.csproj --no-restore --configuration Release

- name: Pack
run: dotnet pack ./Backtrace/Backtrace.csproj --configuration Release --no-build -o ./output/

- name: print current tag version
run: echo $GITHUB_REF ./output/Backtrace$GITHUB_REF.nupkg
run: dotnet pack ./Backtrace/Backtrace.csproj --configuration Release --no-build -o .

- name: Publish to NuGet
env:
NUGET_API_KEY: ${{ secrets.NUGET_API_KEY }}
run: dotnet nuget push ./output/Backtrace.${{ github.ref_name }}.nupkg -k $NUGET_API_KEY -s https://api.nuget.org/v3/index.json
run: dotnet nuget push ./Backtrace.${{ github.ref_name }}.nupkg -k $NUGET_API_KEY -s https://api.nuget.org/v3/index.json

0 comments on commit fbd1d41

Please sign in to comment.