1
0
mirror of https://github.com/ZetaKebab/MpcNET.git synced 2024-09-16 05:30:09 +00:00

Don't fail job on duplicate CI pushes

This commit is contained in:
Difegue 2021-10-03 21:36:26 +02:00
parent a6b575ecd8
commit 1f61079811

View File

@ -31,7 +31,7 @@ jobs:
working-directory: ./Sources working-directory: ./Sources
run: | run: |
msbuild $env:Solution_Name /t:Restore /p:Configuration=$env:Configuration msbuild $env:Solution_Name /t:Restore /p:Configuration=$env:Configuration
# Build package and upload to github packages # Build package and upload to github packages
- name: Build package - name: Build package
working-directory: ./Sources working-directory: ./Sources
@ -39,7 +39,7 @@ jobs:
dotnet nuget add source --username Difegue --password ${{ secrets.GITHUB_TOKEN }} --store-password-in-clear-text --name github "https://nuget.pkg.github.com/Difegue/index.json" dotnet nuget add source --username Difegue --password ${{ secrets.GITHUB_TOKEN }} --store-password-in-clear-text --name github "https://nuget.pkg.github.com/Difegue/index.json"
dotnet build $env:Solution_Name --configuration $env:Configuration dotnet build $env:Solution_Name --configuration $env:Configuration
dotnet pack --configuration $env:Configuration -o ./ dotnet pack --configuration $env:Configuration -o ./
dotnet nuget push *.nupkg --api-key ${{ secrets.GITHUB_TOKEN }} --source "github" dotnet nuget push *.nupkg --api-key ${{ secrets.GITHUB_TOKEN }} --source "github" --skip-duplicate
# Execute all unit tests in the solution # Execute all unit tests in the solution
#- name: Execute unit tests #- name: Execute unit tests