Skip to content

Deploy SafetyFirst to NuGet #5

Deploy SafetyFirst to NuGet

Deploy SafetyFirst to NuGet #5

Workflow file for this run

name: Deploy SafetyFirst to NuGet
on:
workflow_dispatch:
env:
# Official NuGet Feed settings
NUGET_FEED: https://api.nuget.org/v3/index.json
NUGET_KEY: ${{ secrets.NUGET_KEY }}
jobs:
deploy-to-nuget:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up .net
uses: actions/setup-dotnet@v4
with:
dotnet-version: |
8.0
- name: Build
shell: bash
run: |
dotnet pack -c Release --include-symbols --include-source -o nugets
- name: Deploy
shell: bash
run: |
dotnet nuget push ./nugets/*.nupkg --source $NUGET_FEED --skip-duplicate --api-key $NUGET_KEY