Skip to content
This repository has been archived by the owner on Jul 10, 2024. It is now read-only.

Commit

Permalink
Set version from Tag Name
Browse files Browse the repository at this point in the history
  • Loading branch information
IvanJosipovic authored Nov 2, 2019
1 parent 5e983a2 commit 35133da
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,11 @@ jobs:
dotnet-version: 3.1.100-preview1-014459
- name: Dotnet Pack
working-directory: src/BlazorTable
run: dotnet pack --configuration Release
run: dotnet pack -c Release -p:Version=${GITHUB_REF##*/v}
- name: Dotnet Nuget Push
working-directory: src/BlazorTable/bin/Release
run: dotnet nuget push BlazorTable.*.nupkg -s https://api.nuget.org/v3/index.json -k $NUGET_API_KEY
run: dotnet nuget push BlazorTable.*.nupkg -s https://api.nuget.org/v3/index.json -k ${{ secrets.NUGET_API_KEY }}
continue-on-error: true
env:
NUGET_API_KEY: ${{ secrets.NUGET_API_KEY }}
- name: Create Release
uses: actions/create-release@v1
env:
Expand Down

0 comments on commit 35133da

Please sign in to comment.