Skip to content

Publish release target manual dispatcher #1

Publish release target manual dispatcher

Publish release target manual dispatcher #1

# SPDX-License-Identifier: MIT
# SPDX-FileCopyrightText: "2022 smdn <smdn@smdn.jp>"
name: Publish release target manual dispatcher
permissions:
contents: write
packages: write
pull-requests: read
on:
workflow_dispatch:
inputs:
pr_number_request_for_release:
description: "The number of pull request that requests to merge the release working branch."
required: true
type: string
dry_run:
description: "If true, performs a trial run."
required: false
type: boolean
default: false
jobs:
run-publish-release-target:
uses: smdn/Smdn.Fundamentals/.github/workflows/publish-release-target.yml@workflows/release-target-v1.8.3
with:
pr_number_request_for_release: ${{ fromJson(github.event.inputs.pr_number_request_for_release) }}
pr_label_request_for_release: 'release-target'
workflow_runs_on: 'ubuntu-24.04'
dotnet_sdk_version: '8.0.100'
dry_run: ${{ fromJson(github.event.inputs.dry_run) }}
secrets:
token_repo: ${{ secrets.PUBLISH_NEW_RELEASE }}
token_push_nuget_org: ${{ secrets.PUBLISH_PACKAGE_NUGETORG }}
token_push_github_packages: ${{ secrets.PUBLISH_NEW_RELEASE }}