Skip to content

Commit

Permalink
task: update pipeline
Browse files Browse the repository at this point in the history
Signed-off-by: Alan Brault <[email protected]>
  • Loading branch information
xaevik committed May 21, 2024
1 parent 4ae6310 commit 6dc0b71
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,16 +32,16 @@ jobs:
run: dotnet restore --verbosity Quiet
- name: Build
run: |
dotnet build -c release --no-restore \
-p:Version=${{ steps.gitversion.outputs.assemblySemVer }} \
-p:FileVersion=${{ steps.gitversion.outputs.assemblySemFileVer }} \
dotnet build -c release --no-restore `
-p:Version=${{ steps.gitversion.outputs.assemblySemVer }} `
-p:FileVersion=${{ steps.gitversion.outputs.assemblySemFileVer }} `
-p:InformationalVersion=${{ steps.gitversion.outputs.informationalVersion }}
- name: Test
run: dotnet test -c release --no-restore --no-build
- name: Pack
run: |
dotnet pack -c release --no-restore --no-build \
-p:PackageVersion=${{ steps.gitversion.outputs.fullSemVer }} \
dotnet pack -c release --no-restore --no-build `
-p:PackageVersion=${{ steps.gitversion.outputs.fullSemVer }} `
-p:PackageOutputPath=${{ runner.temp }}/packages
- name: Push
run: dotnet nuget push *.nupkg -k ${{ secrets.NUGET_TOKEN }} -s https://api.nuget.org/v3/index.json --skip-duplicate
Expand Down

0 comments on commit 6dc0b71

Please sign in to comment.