mirror of
https://github.com/tonytins/cstdotnet.git
synced 2025-03-22 08:22:18 +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/**"]
|
branches: [main, master, "releases/**"]
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
timeout-minutes: 15
|
||||||
|
continue-on-error: true
|
||||||
runs-on: ${{ matrix.platforms }}
|
runs-on: ${{ matrix.platforms }}
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
|
|
4
.github/workflows/publish.yml
vendored
4
.github/workflows/publish.yml
vendored
|
@ -19,6 +19,6 @@ jobs:
|
||||||
run: dotnet pack --no-restore -o .
|
run: dotnet pack --no-restore -o .
|
||||||
- name: Publish to Nuget
|
- name: Publish to Nuget
|
||||||
env:
|
env:
|
||||||
NUGET_KEY: ${{ secrets.NUGET_KEY }}
|
NUGET_KEY: ${{ secrets.DEPLOY_KEY }}
|
||||||
NUGET_API: https://api.nuget.org/v3/index.json
|
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>
|
<PropertyGroup>
|
||||||
<TargetFrameworks>netstandard2.1;net6.0</TargetFrameworks>
|
<TargetFrameworks>netstandard2.1;net6.0</TargetFrameworks>
|
||||||
<Version>2.0.100-beta1</Version>
|
<Version>2.0.100-beta2</Version>
|
||||||
<Nullable>enable</Nullable>
|
<Nullable>enable</Nullable>
|
||||||
<LangVersion>latest</LangVersion>
|
<LangVersion>latest</LangVersion>
|
||||||
<ImplicitUsings>enable</ImplicitUsings>
|
<ImplicitUsings>enable</ImplicitUsings>
|
||||||
|
@ -16,4 +16,8 @@
|
||||||
<PackageLicenseExpression>BSD-3-Clause</PackageLicenseExpression>
|
<PackageLicenseExpression>BSD-3-Clause</PackageLicenseExpression>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
|
<ItemGroup>
|
||||||
|
<None Include="README.md" Pack="true" PackagePath="\" />
|
||||||
|
</ItemGroup>
|
||||||
|
|
||||||
</Project>
|
</Project>
|
Loading…
Add table
Reference in a new issue