(#64) Support tasks retry & propagate raised exception #107
Workflow file for this run
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: publish | |
on: | |
pull_request: | |
branches: | |
- main | |
push: | |
branches: | |
- main | |
jobs: | |
publish: | |
timeout-minutes: 5 | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
with: | |
fetch-depth: 2 # Ensure that we get previous commit to compare version with | |
- uses: actions/setup-python@v3 | |
with: | |
python-version: "3.10.x" | |
- run: pip install --upgrade pip | |
- run: pip install -e .[dev] | |
- run: pip freeze | |
- name: Publish | |
env: | |
PYPI_TOKEN_DEV: ${{ secrets.PYPI_TOKEN_DEV }} | |
PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }} | |
run: ./publish.sh |