-
Notifications
You must be signed in to change notification settings - Fork 15
50 lines (46 loc) · 1.17 KB
/
dispatch-release.yml
File metadata and controls
50 lines (46 loc) · 1.17 KB
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
name: Dispatched product release
on:
workflow_dispatch:
inputs:
issue-number:
description: "Number of the PR/issue that triggered release"
required: true
type: string
permissions:
actions: write
attestations: write
checks: write
contents: write
deployments: write
discussions: write
issues: write
id-token: write
packages: write
pull-requests: write
repository-projects: write
security-events: write
statuses: write
jobs:
publish:
name: Publish package
runs-on:
group: organization/Default
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
ref: master
- name: Checkout actions
uses: actions/checkout@v4
with:
repository: pubnub/client-engineering-deployment-tools
ref: v1
token: ${{ secrets.GH_TOKEN }}
path: .github/.release/actions
- name: Install Dart SDK
uses: dart-lang/setup-dart@v1
- name: Publish to Pub
uses: ./.github/.release/actions/actions/services/pub
with:
token: ${{ secrets.GH_TOKEN }}
issue-number: ${{ inputs['issue-number'] }}