Skip to content

Upload FastApi-Mail Package #43

Upload FastApi-Mail Package

Upload FastApi-Mail Package #43

Workflow file for this run

name: Upload FastApi-Mail Package
on:
release:
types: [created]
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v1
with:
python-version: [3.9, 3.11]

Check failure on line 14 in .github/workflows/poetry-publish.yml

View workflow run for this annotation

GitHub Actions / Upload FastApi-Mail Package

Invalid workflow file

The workflow is not valid. .github/workflows/poetry-publish.yml (Line: 14, Col: 25): A sequence was not expected
architecture: x64
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install poetry
- name: Build and publish
run: |
poetry version $(git describe --tags --abbrev=0)
poetry build
poetry publish --username ${{ secrets.PYPI_USERNAME }} --password ${{ secrets.PYPI_PASSWORD }}