Skip to content

Commit

Permalink
ref name istead of just ref
Browse files Browse the repository at this point in the history
  • Loading branch information
dhindrik committed May 21, 2024
1 parent f43d0d7 commit 152c308
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
run: dotnet build MauiInsights/MauiInsights.csproj --no-restore

- name: Pack
run: dotnet pack MauiInsights/MauiInsights.csproj -p:PackageVersion='${{ github.ref }}''
run: dotnet pack MauiInsights/MauiInsights.csproj -p:PackageVersion='${{ github.ref_name }}''

- name: Push
run: dotnet nuget push MauiInsights/MauiInsights/bin/Release/MauiInsights.${{ github.ref }}.nupkg --api-key ${{ secrets.NUGET_TOKEN }} --source https://api.nuget.org/v3/index.json
run: dotnet nuget push MauiInsights/MauiInsights/bin/Release/MauiInsights.${{ github.ref_name }}.nupkg --api-key ${{ secrets.NUGET_TOKEN }} --source https://api.nuget.org/v3/index.json

0 comments on commit 152c308

Please sign in to comment.