fix: 💪 Add workflow to automatize release #18 (#22) #3
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 | |
on: | |
push: | |
branches: | |
- main | |
workflow_dispatch: | |
jobs: | |
release: | |
runs-on: ubuntu-latest | |
timeout-minutes: 5 | |
steps: | |
- name: Checkout origin repo | |
uses: actions/[email protected] | |
- name: Set up Python | |
uses: actions/setup-python@main | |
with: | |
python-version: "3.12" | |
- name: Install Python dependencies | |
run: pip install --disable-pip-version-check nox pyyaml | |
- name: Update tags | |
id: tags | |
run: nox -s update_tags | |
- name: Create Github release | |
uses: softprops/[email protected] | |
with: | |
tag_name: ${{ steps.tags.outputs.tag }} |