-
-
Notifications
You must be signed in to change notification settings - Fork 0
30 lines (26 loc) · 1.03 KB
/
publish-release-target.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# SPDX-License-Identifier: MIT
# SPDX-FileCopyrightText: "2022 smdn <smdn@smdn.jp>"
name: Publish release target
run-name: Publish release target ${{ github.head_ref }}
permissions:
contents: write
packages: write
pull-requests: read
on:
pull_request:
types: [closed]
jobs:
run-publish-release-target:
uses: smdn/Smdn.Fundamentals/.github/workflows/publish-release-target.yml@workflows/release-target-v1.8.3
if: |
(github.event.pull_request.merged == true && startsWith(github.head_ref, 'releases/')) &&
(contains(github.event.pull_request.labels.*.name, 'release-target'))
with:
pr_number_request_for_release: ${{ github.event.pull_request.number }}
pr_label_request_for_release: 'release-target'
workflow_runs_on: 'ubuntu-24.04'
dotnet_sdk_version: '8.0.100'
secrets:
token_repo: ${{ secrets.PUBLISH_NEW_RELEASE }}
token_push_nuget_org: ${{ secrets.PUBLISH_PACKAGE_NUGETORG }}
token_push_github_packages: ${{ secrets.PUBLISH_NEW_RELEASE }}