cstdotnet/.github/workflows/publish.yml
Tony Bark e40ba5a904 IUIText interface for UIText class
- Added test to VSCode tasks
- New deploy keys
- Renamed dpkgpackage workflow to publish
- Bump to version to 2.0, beta 1
2022-10-10 02:54:46 -04:00

24 lines
679 B
YAML

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: "6.0.x"
- 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 $DEPLOY_KEY -s https://api.nuget.org/v3/index.json