Release new version #169
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: Release new version | |
on: | |
workflow_run: | |
workflows: ["Run tests"] | |
types: | |
- completed | |
workflow_dispatch: | |
inputs: | |
jobs: | |
release: | |
if: ${{ github.event.workflow_run.conclusion == 'success' }} | |
name: Release new version if no tag exists for it | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Create new tag and release | |
env: | |
GH_TOKEN: ${{ github.token }} | |
run: | | |
python3 .github/workflows/release.py |