Skip to content

Commit fbd1d41

Browse files
committed
Cleanup the flow
1 parent 335a104 commit fbd1d41

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,9 @@ jobs:
2525
run: dotnet build ./Backtrace/Backtrace.csproj --no-restore --configuration Release
2626

2727
- name: Pack
28-
run: dotnet pack ./Backtrace/Backtrace.csproj --configuration Release --no-build -o ./output/
29-
30-
- name: print current tag version
31-
run: echo $GITHUB_REF ./output/Backtrace$GITHUB_REF.nupkg
28+
run: dotnet pack ./Backtrace/Backtrace.csproj --configuration Release --no-build -o .
3229

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

0 commit comments

Comments
 (0)