Skip to content

Bump actions/checkout from 5 to 6 in the dependencies group #136

Bump actions/checkout from 5 to 6 in the dependencies group

Bump actions/checkout from 5 to 6 in the dependencies group #136

Workflow file for this run

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@v6
- name: Fetch full git history
run: git fetch --prune --unshallow
- name: Set up Conda env
uses: mamba-org/setup-micromamba@add3a49764cedee8ee24e82dfde87f5bc2914462
with:
environment-file: environment.yml
cache-environment: true
- shell: bash -el {0}
run:
python -m build
- uses: pypa/gh-action-pypi-publish@v1.13.0
if: github.event_name == 'release'
with:
user: __token__
password: ${{ secrets.PYPI_RELEASE_TOKEN }}