We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ce74bf8 commit 3d94b79Copy full SHA for 3d94b79
.github/workflows/onPushToMain.yml .github/workflows/onPushToV2.yml.github/workflows/onPushToMain.yml renamed to .github/workflows/onPushToV2.yml
.github/workflows/onRelease.yml
@@ -14,6 +14,8 @@ jobs:
14
npm:
15
uses: salesforcecli/github-workflows/.github/workflows/npmPublish.yml@main
16
with:
17
- tag: latest
+ # ternary-ish https://github.com/actions/runner/issues/409#issuecomment-752775072
18
+ # if the version is 2.x we release it on the `sf` dist tag
19
+ tag: ${{ startsWith( github.event.release.tag_name || inputs.tag, '1.') && 'latest' || 'sf'}}
20
githubTag: ${{ github.event.release.tag_name || inputs.tag }}
21
secrets: inherit
.github/workflows/test.yml
@@ -1,7 +1,7 @@
1
name: tests
2
on:
3
push:
4
- branches-ignore: [v2]
+ branches-ignore: [main, v2]
5
workflow_dispatch:
6
7
jobs:
0 commit comments