Timeout and continue on error for workflows

- Fixed publishing error
This commit is contained in:
Tony Bark 2022-10-10 03:47:01 -04:00
parent 6f717569de
commit 9d98055df3
3 changed files with 9 additions and 3 deletions

View file

@ -7,6 +7,8 @@ on:
branches: [main, master, "releases/**"]
jobs:
build:
timeout-minutes: 15
continue-on-error: true
runs-on: ${{ matrix.platforms }}
strategy:
matrix:

View file

@ -19,6 +19,6 @@ jobs:
run: dotnet pack --no-restore -o .
- name: Publish to Nuget
env:
NUGET_KEY: ${{ secrets.NUGET_KEY }}
NUGET_KEY: ${{ secrets.DEPLOY_KEY }}
NUGET_API: https://api.nuget.org/v3/index.json
run: dotnet nuget push CSTNet.*.nupkg -k $DEPLOY_KEY -s https://api.nuget.org/v3/index.json
run: dotnet nuget push CSTNet.*.nupkg --api-key $NUGET_KEY --source $NUGET_API