Skip to content

Merge pull request #47 from ti-ba-paj/patch-1 #20

Merge pull request #47 from ti-ba-paj/patch-1

Merge pull request #47 from ti-ba-paj/patch-1 #20

Workflow file for this run

name: PyPI release
on: [push]
jobs:
pypi:
runs-on: ubuntu-20.04
strategy:
matrix:
config:
- {setup_file: setup_meta.py, secret_key: pypi_password_xcamera}
- {setup_file: setup.py, secret_key: pypi_password_kivy_garden_xcamera}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: 3.7
- run: python -m pip install --user --upgrade setuptools wheel kivy
- run: python ${{ matrix.config.setup_file }} sdist bdist_wheel
- name: Publish package
if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags')
uses: pypa/[email protected]
with:
user: __token__
password: ${{ secrets[matrix.config.secret_key] }}