Skip to content

Commit

Permalink
chore([no ci]): Created local '.github/workflows/onRelease.yml' from …
Browse files Browse the repository at this point in the history
…remote 'templates/github-oclif/onRelease.yml'
  • Loading branch information
SF-CLI-BOT committed Sep 26, 2022
1 parent 0e5c03f commit f8fd23d
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/onRelease.yml
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

0 comments on commit f8fd23d

Please sign in to comment.