Skip to content

Update example app to use the new npm package. #13

Update example app to use the new npm package.

Update example app to use the new npm package. #13

Workflow file for this run

name: Tag Release
on:
pull_request:
types:
- closed
branches:
- 'main'
jobs:
tag_release:
if: ${{ github.event.pull_request.merged == true && startsWith( github.head_ref, 'version-' ) }}
runs-on: ubuntu-latest
steps:
- name: 🧮 Checkout code
uses: actions/checkout@v4
with:
token: ${{ secrets.PAT }}
- name: Get Version
uses: mad9000/actions-find-and-replace-string@5
id: get-version
with:
source: ${{ github.head_ref }}
find: 'version-'
replace: ''
- name: Add Tag
uses: mathieudutour/github-tag-action@v6.2
with:
github_token: ${{ secrets.PAT }}
custom_tag: ${{steps.get-version.outputs.value}}
tag_prefix: ''