Skip to content

Release 1.6.26

Release 1.6.26 #38

Workflow file for this run

name: "Deploy"
run-name: "Release ${{ github.ref_name }}"
on:
release:
types: [ created ]
jobs:
deploy:
name: Deploy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.11
uses: actions/setup-python@v5
with:
python-version: 3.11
- name: Install dependencies
run: make install
- name: Get version
id: get_version
run: echo ::set-output name=VERSION::${GITHUB_REF#refs/tags/}
- name: Validate version
run: make validate-release VERSION=${{ steps.get_version.outputs.VERSION }}
- name: Test
run: make test
- name: Check code
run: make check
- name: Validate package
run: make local
- name: Publish
env:
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
run:
make upload