tebako release #2
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
name: add-tag | |
on: | |
repository_dispatch: | |
types: [ 'tebako release' ] | |
jobs: | |
tag: | |
name: tag | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Set up Git identity | |
run: | | |
git config --global user.name "tebako-ci" | |
git config --global user.email "[email protected]" | |
- name: Create tag | |
run: | | |
git tag -a v${{ github.event.client_payload.version }} | |
git push origin v${{ github.event.client_payload.version }} | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |