Skip to content

5.3.1

5.3.1 #39

Workflow file for this run

# This is a basic workflow to help you get started with Actions
name: Nuget Publish
on:
release:
types: [created]
jobs:
build:
runs-on: ubuntu-latest
name: Update NuGet package
steps:
- name: Checkout repository
uses: actions/checkout@v1
- name: Setup .NET Core @ Latest
uses: actions/setup-dotnet@v1
- name: Build solution and generate NuGet package
run: |
cd src/freeclimb
dotnet pack -c Release -o out
- name: Push generated package to GitHub registry
env:
NUGET_AUTH_TOKEN: ${{secrets.NUGET_API_KEY}}
run: dotnet nuget push ./src/freeclimb/out/*.nupkg --skip-duplicate --no-symbols --api-key $NUGET_AUTH_TOKEN --source https://api.nuget.org/v3/index.json