mirror of
https://github.com/tonytins/cstdotnet.git
synced 2025-03-15 06:01:25 +00:00
Timeout and continue on error for workflows
- Fixed publishing error
This commit is contained in:
parent
6f717569de
commit
9d98055df3
3 changed files with 9 additions and 3 deletions
2
.github/workflows/dotnet.yml
vendored
2
.github/workflows/dotnet.yml
vendored
|
@ -7,6 +7,8 @@ on:
|
|||
branches: [main, master, "releases/**"]
|
||||
jobs:
|
||||
build:
|
||||
timeout-minutes: 15
|
||||
continue-on-error: true
|
||||
runs-on: ${{ matrix.platforms }}
|
||||
strategy:
|
||||
matrix:
|
||||
|
|
4
.github/workflows/publish.yml
vendored
4
.github/workflows/publish.yml
vendored
|
@ -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
|
||||
|
|
|
@ -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>
|
Loading…
Add table
Reference in a new issue