Skip to content

Merge pull request #30 from NikRimington/develop #2

Merge pull request #30 from NikRimington/develop

Merge pull request #30 from NikRimington/develop #2

Workflow file for this run

name: Release Package
# This action will start when a correctly formatted tag is pushed (e.g. 0.1.0)
on:
push:
tags:
- "[0-9]+.[0-9]+.[0-9]+"
jobs:
build:
runs-on: windows-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v2
with:
dotnet-version: 6.0.x
- name: Build project
run: dotnet build src\HC.PageNotFoundManager\HC.PageNotFoundManager.csproj --configuration Release
- name: Push to NuGet
run: dotnet nuget push **\*.nupkg --api-key ${{secrets.NUGET_API_KEY}} --source https://api.nuget.org/v3/index.json