Bump the dependencies group with 2 updates #109
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: Build and upload to PyPI | |
on: | |
push: | |
pull_request: | |
release: | |
types: [published] | |
jobs: | |
build_artifacts: | |
name: Build artifacts | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: true | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Fetch full git history | |
run: git fetch --prune --unshallow | |
- name: Set up Conda env | |
uses: mamba-org/setup-micromamba@068f1ab4b37ed9b3d9f73da7db90a0cda0a48d29 | |
with: | |
environment-file: environment.yml | |
cache-environment: true | |
- shell: bash -el {0} | |
run: | |
python -m build | |
- uses: pypa/[email protected] | |
if: github.event_name == 'release' | |
with: | |
user: __token__ | |
password: ${{ secrets.PYPI_RELEASE_TOKEN }} |