Skip to content

Bump cryptography from 41.0.6 to 43.0.1 #28

Bump cryptography from 41.0.6 to 43.0.1

Bump cryptography from 41.0.6 to 43.0.1 #28

Workflow file for this run

name: Publish to PyPi
on:
release:
types:
- released
jobs:
publish:
strategy:
fail-fast: true
matrix:
python-version: [ 3.8 ]
poetry-version: [ 1.3.2 ]
os: [ ubuntu-latest ]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0 # small repo so no biggie
fetch-tags: true
- name: Echo Git Tag
run: |
echo "Git tag: $(git describe --tags)"
- name: Set up Python
uses: actions/[email protected]
with:
python-version: ${{ matrix.python-version }}
- name: Run image
uses: abatilo/actions-poetry@v2
with:
poetry-version: ${{ matrix.poetry-version }}

Check failure on line 33 in .github/workflows/publish_pypi.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/publish_pypi.yml

Invalid workflow file

You have an error in your yaml syntax on line 33
- name: Build and publish
run: |
poetry run pybabel compile --domain django --directory djoser/locale -f
poetry config pypi-token.pypi ${{ secrets.PYPI_TOKEN }}
# alternative for the next release. Before, set version in pyproject to 0.0.0
# upload to test pypi first
# TAG=$(git describe --tags)
# VERSION=${TAG#v} # Remove "v" prefix if present
# poetry version $VERSION
poetry publish --build --no-interaction