Skip to content

🚀 Release

🚀 Release #65

Workflow file for this run

name: 🚀 Release
on:
workflow_dispatch:
pull_request:
types: [ closed ]
jobs:
release:
if: github.event.pull_request.merged == true || github.event_name == 'workflow_dispatch'
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Build
id: build
uses: jcdcdev/jcdcdev.Umbraco.GitHub.Build@main
with:
project-name: jcdcdev.Umbraco.Core
project-path: src/jcdcdev.Umbraco.Core/jcdcdev.Umbraco.Core.csproj
umbraco-version: 15
dotnet-version: "9"
- name: Release
uses: jcdcdev/jcdcdev.Umbraco.GitHub.Release@main
with:
artifact-name: ${{ steps.build.outputs.artifact-name }}
version: ${{ steps.build.outputs.version }}
nuget-api-key: ${{ secrets.NUGET_API_KEY }}
github-token: ${{ secrets.GITHUB_TOKEN }}