Trigger Release #4
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: Trigger Release | |
on: | |
workflow_dispatch: | |
jobs: | |
archive: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
ref: main | |
token: ${{ github.token }} | |
- uses: ./.github/actions/setup-python | |
name: Setup Python & uv | |
- name: Push Tag | |
run: | | |
git config user.name github-actions[bot] | |
git config user.email github-actions[bot]@users.noreply.github.com | |
git tag v$(uvx --from=toml-cli toml get --toml-path=pyproject.toml project.version) | |
git push && git push --tags |