Skip to content

docs: better wording #9

docs: better wording

docs: better wording #9

Workflow file for this run

name: Publish package to PyPi

Check failure on line 1 in .github/workflows/pypi-publish.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/pypi-publish.yml

Invalid workflow file

(Line: 31, Col: 9): Unexpected value 'working-directory'
on:
release:
types: [published]
defaults:
run:
working-directory: "./backend"
jobs:
push:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: setup python
uses: actions/setup-python@v5
with:
python-version: 3.12
- name: Install pip
run: pip install -r requirements/pip.txt
- name: Build package
run: python setup.py sdist bdist_wheel
- name: Publish to PyPi
uses: pypa/gh-action-pypi-publish@release/v1
working-directory: "./backend"
with:
user: __token__
password: ${{ secrets.PYPI_UPLOAD_TOKEN }}