v9.2.1 #24
Workflow file for this run
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
## | |
# Publish new action tag(s) for downstream consumption | |
## | |
name: Publish | |
# Manual or automatic release | |
on: | |
release: | |
types: [published, edited] | |
jobs: | |
publish: | |
runs-on: ubuntu-latest | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
steps: | |
# Release with semantic tag like v1.0.3 | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
ref: ${{ github.event.release.tag_name }} | |
- name: Setup Node | |
uses: actions/setup-node@v4 | |
# Compile dist/index.js and bundle with action.yml | |
# Force push major and minor tags, e.g. v1, v1.0 | |
# See documentation: https://github.com/JasonEtco/build-and-tag-action | |
- uses: JasonEtco/build-and-tag-action@v2 | |
with: | |
tag_name: ${{ github.event.release.tag_name }} |