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

View file

@ -2,7 +2,7 @@
<PropertyGroup>
<TargetFrameworks>netstandard2.1;net6.0</TargetFrameworks>
<Version>2.0.100-beta1</Version>
<Version>2.0.100-beta2</Version>
<Nullable>enable</Nullable>
<LangVersion>latest</LangVersion>
<ImplicitUsings>enable</ImplicitUsings>
@ -16,4 +16,8 @@
<PackageLicenseExpression>BSD-3-Clause</PackageLicenseExpression>
</PropertyGroup>
<ItemGroup>
<None Include="README.md" Pack="true" PackagePath="\" />
</ItemGroup>
</Project>