mirror of
https://github.com/ZetaKebab/MpcNET.git
synced 2025-01-14 22:18:43 +00:00
Don't fail job on duplicate CI pushes
This commit is contained in:
parent
a6b575ecd8
commit
1f61079811
4
.github/workflows/build-and-test.yml
vendored
4
.github/workflows/build-and-test.yml
vendored
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user