Skip to content

deps: (deps-dev): bump cryptography from 41.0.3 to 41.0.4 (#67) #31

deps: (deps-dev): bump cryptography from 41.0.3 to 41.0.4 (#67)

deps: (deps-dev): bump cryptography from 41.0.3 to 41.0.4 (#67) #31

Workflow file for this run

name: Release
on:
push:
tags:
- "*.*.*"
jobs:
release:
runs-on: ubuntu-latest
concurrency: release
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.8
- name: Install and configure Poetry
uses: snok/install-poetry@v1
with:
version: 1.6.1
virtualenvs-in-project: true
- name: Configure Git
run: |
git config user.name "GitHub Actions"
git config user.email "[email protected]"
- name: Install dependencies
run: |
poetry install --with dev,release --all-extras
- name: Set Package Version
run: |
poetry version ${GITHUB_REF#refs/*/}
- name: Build package
run: |
poetry build
poetry run twine check --strict dist/*
- name: Publish package
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.PYPI_TOKEN }}
- name: Publish Github release
uses: softprops/action-gh-release@v1
with:
files: dist/*
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}