Skip to content

Commit 58ca8ac

Browse files
authored
chore: Merge pull request #417 from salesforcecli/sync-publish
chore: sync github actions release-publish
2 parents 79b62d9 + 24bc892 commit 58ca8ac

File tree

2 files changed

+43
-0
lines changed

2 files changed

+43
-0
lines changed

.github/onRelease.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# test
2+
name: publish
3+
4+
on:
5+
release:
6+
types: [released]
7+
# support manual release in case something goes wrong and needs to be repeated or tested
8+
workflow_dispatch:
9+
inputs:
10+
tag:
11+
description: tag that needs to publish
12+
type: string
13+
required: true
14+
jobs:
15+
npm:
16+
uses: salesforcecli/github-workflows/.github/workflows/npmPublish.yml@main
17+
with:
18+
ctc: true
19+
sign: true
20+
tag: latest
21+
githubTag: ${{ github.event.release.tag_name || inputs.tag }}
22+
secrets: inherit

.github/workflows/onRelease.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: publish
2+
3+
on:
4+
release:
5+
types: [released]
6+
# support manual release in case something goes wrong and needs to be repeated or tested
7+
workflow_dispatch:
8+
inputs:
9+
tag:
10+
description: tag that needs to publish
11+
type: string
12+
required: true
13+
jobs:
14+
npm:
15+
uses: salesforcecli/github-workflows/.github/workflows/npmPublish.yml@main
16+
with:
17+
ctc: true
18+
sign: true
19+
tag: latest
20+
githubTag: ${{ github.event.release.tag_name || inputs.tag }}
21+
secrets: inherit

0 commit comments

Comments
 (0)