Merge pull request #276 from ASFHyP3/develop #46
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: Distribute to PyPI | |
on: | |
push: | |
tags: | |
- v* | |
jobs: | |
call-version-info-workflow: | |
uses: ASFHyP3/actions/.github/workflows/[email protected] | |
distribute: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
shell: bash -l {0} | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- uses: mamba-org/setup-micromamba@v1 | |
with: | |
environment-file: environment.yml | |
- name: Build distribution | |
id: build | |
run: | | |
python -m build | |
- name: upload to PyPI.org | |
uses: pypa/[email protected] | |
with: | |
user: __token__ | |
password: ${{ secrets.TOOLS_PYPI_PAK }} |