Skip to content

Overall Release Process #13

Overall Release Process

Overall Release Process #13

Workflow file for this run

name: Overall Release Process
on: workflow_dispatch
jobs:
tests:
uses: ./.github/workflows/_test.yml
lint:
uses: ./.github/workflows/_linting.yml
## NOX test removed because the workflow currently broken (fails to install)
# full_test:
# needs: [tests, lint]
# uses: ./.github/workflows/_full_tests.yml
release:
runs-on: ubuntu-latest
concurrency: release
# needs: full_test
needs: [tests, lint]
environment: deployment
steps:
- name: Set up repository
uses: nigelm/gh_actions_python_poetry_setup@v2
with:
python-version: 3.10.10
poetry-version: 1.3.1
# needs fetch-depth to be set due to release history deduction
fetch-depth: 0
token: ${{ secrets.GH_DEPLOY_TOKEN }}
#----------------------------------------------
# release
#----------------------------------------------
- name: Semantic Release
env:
GH_TOKEN: ${{ secrets.GH_DEPLOY_TOKEN }}
run: |
# source .venv/bin/activate
git config user.name github-actions
git config user.email [email protected]
poetry run semantic-release publish
# end