Skip to content

Commit e0fa9c9

Browse files
author
SF-CLI-BOT
authored
chore: sync github actions release-publish [skip-validate-pr] [skip ci] (#118)
Authored via Leif
1 parent 628b254 commit e0fa9c9

1 file changed

Lines changed: 21 additions & 0 deletions

File tree

.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)