Skip to content

0.7.1

0.7.1 #11

Workflow file for this run

name: publish
on:
release:
# both release and prereleases
types: [published]
# support manual release in case something goes wrong and needs to be repeated or tested
workflow_dispatch:
inputs:
tag:
description: github tag that needs to publish
type: string
required: true
jobs:
getDistTag:
outputs:
tag: ${{ steps.distTag.outputs.tag }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
ref: ${{ github.event.release.tag_name || inputs.tag }}
- uses: ClayChipps/sf-chipps-github-workflows/.github/actions/getPreReleaseTag@main
id: distTag
npm:
uses: ClayChipps/sf-chipps-github-workflows/.github/workflows/npmPublish.yml@main
needs: [getDistTag]
with:
githubTag: ${{ github.event.release.tag_name || inputs.tag }}
secrets: inherit