Skip to content

Prepare for release #20

Prepare for release

Prepare for release #20

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:
- "*"
jobs:
build:
runs-on: windows-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: 9.0.x
- name: Build project
run: dotnet build src\Umbraco.Community.Sustainability\Umbraco.Community.Sustainability.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