Skip to content

Merge pull request #460 from akunzai/dev-containers #361

Merge pull request #460 from akunzai/dev-containers

Merge pull request #460 from akunzai/dev-containers #361

Workflow file for this run

name: CD
on:
push:
branches:
- main
- "release/*"
tags:
- "*"
# Allow manually triggering the workflow.
workflow_dispatch:
permissions: read-all
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up .NET SDK
uses: actions/setup-dotnet@v3
with:
dotnet-version: 8.0.x
- name: Build packages
run: |
dotnet --info
dotnet pack -o packages
- name: Publish to NuGet.org
run: dotnet nuget push "packages/*.nupkg" -k ${{ secrets.NUGET_AUTH_TOKEN }} -s https://api.nuget.org/v3/index.json --skip-duplicate