mirror of
https://github.com/tonytins/cstdotnet.git
synced 2026-02-10 20:24:47 -05:00
Added more package metadata
- Removed RC suffix
This commit is contained in:
parent
8f21bf3d26
commit
0e6ba4f99d
2 changed files with 7 additions and 5 deletions
25
.github/workflows/pkgrelease.yml
vendored
Normal file
25
.github/workflows/pkgrelease.yml
vendored
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
name: Publish Nuget Package
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- "releases/**"
|
||||
jobs:
|
||||
publish:
|
||||
name: Package Release
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- name: Setup dotnet
|
||||
uses: actions/setup-dotnet@v1
|
||||
with:
|
||||
dotnet-version: 3.1.404
|
||||
- name: Install dependencies
|
||||
run: dotnet restore
|
||||
- name: Package
|
||||
run: dotnet pack --no-restore -o .
|
||||
- name: Publish to Nuget
|
||||
env:
|
||||
NUGET_KEY: ${{ secrets.NUGET_KEY }}
|
||||
NUGET_API: https://api.nuget.org/v3/index.json
|
||||
run: dotnet nuget push CSTNet.*.nupkg -k $NUGET_KEY -s $NUGET_API
|
||||
Loading…
Add table
Add a link
Reference in a new issue