Update build workflow

Update Version/Author
This commit is contained in:
Jürgen Holzer
2022-05-06 09:01:36 +02:00
parent 8466262690
commit 623f8171f8
2 changed files with 4 additions and 5 deletions

View File

@@ -21,9 +21,9 @@ jobs:
- name: Install dependencies
run: dotnet restore
- name: Build
run: dotnet build --configuration Release --no-restore
run: dotnet build --configuration Release --no-restore /p:version=1.1.${{ github.run_number }}
- name: NugetPublish
run: dotnet nuget push Sharp7.Rx\bin\Release\Sharp7.Rx.1.1.${{ github.run_number }}.nupkg -s https://api.nuget.org/v3/index.json -k ${{ secrets.NUGET_DEPLOY_KEY }}
run: dotnet nuget push Sharp7Reactive\Sharp7.Rx\bin\Release\Sharp7.Rx.1.1.${{ github.run_number }}.nupkg -s https://api.nuget.org/v3/index.json -k ${{ secrets.NUGET_DEPLOY_KEY }}
- name: Test
run: dotnet test --no-restore --verbosity normal
- name: Create Release