This repository has been archived by the owner on Aug 22, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore([no ci]): Synced file(s) with salesforcecli/leif (#231)
* chore([no ci]): Created local '.github/workflows/test.yml' from remote 'templates/github-oclif/test.yml' * chore([no ci]): Created local '.github/workflows/onRelease.yml' from remote 'templates/github-oclif/onRelease.yml'
- Loading branch information
SF-CLI-BOT
authored
Sep 26, 2022
1 parent
6fb94bc
commit 9de8244
Showing
2 changed files
with
28 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
name: publish | ||
|
||
on: | ||
release: | ||
types: [released] | ||
# support manual release in case something goes wrong and needs to be repeated or tested | ||
workflow_dispatch: | ||
inputs: | ||
tag: | ||
description: tag that needs to publish | ||
type: string | ||
required: true | ||
jobs: | ||
npm: | ||
uses: oclif/github-workflows/.github/workflows/npmPublish.yml@main | ||
with: | ||
tag: latest | ||
githubTag: ${{ github.event.release.tag_name || inputs.tag }} | ||
secrets: inherit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
name: tests | ||
on: | ||
push: | ||
branches-ignore: [main] | ||
workflow_dispatch: | ||
|
||
jobs: | ||
unit-tests: | ||
uses: oclif/github-workflows/.github/workflows/unitTest.yml@main |