just debug info if no s3 bucket or key in asynchronous call #39
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Upload CoWorks Python Package | |
on: push | |
jobs: | |
pypi-publish: | |
name: upload release to PyPI | |
runs-on: ubuntu-latest | |
environment: release | |
permissions: | |
id-token: write | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: pdm-project/setup-pdm@v4 | |
- name: Install dependencies | |
run: pdm install -G dev | |
- name: Display Python version | |
run: python -c "import sys; print(sys.version)" | |
- name: Run tests | |
run: pdm run on_github | |
- name: Publish package distributions to PyPI | |
if: github.ref_name == 'master' | |
run: pdm publish |