Skip to content

Manual Release

Manual Release #1

name: Manual Release
on:
workflow_dispatch:
concurrency:
cancel-in-progress: true
group: release-${{ github.ref_name }}
jobs:
yarn-release:
runs-on: ubuntu-latest
name: Create release using standard-version
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
token: ${{ secrets.GH_TOKEN }}
- name: Install dependencies
run: yarn --immutable
- name: Run release
env:
GIT_AUTHOR_EMAIL: "41898282+github-actions[bot]@users.noreply.github.com"
GIT_AUTHOR_NAME: "github-actions[bot]"
run: yarn release
- name: Push release
shell: bash
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
git remote set-url --push origin https://x-access-token:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git
git push -f --follow-tags origin master