Bump peter-evans/create-pull-request from 7.0.7 to 7.0.8 in the dependencies group #54
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 | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
tags: | |
- "*" | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0 | |
with: | |
fetch-depth: 0 | |
- name: Set up pixi | |
uses: prefix-dev/setup-pixi@92815284c57faa15cd896c4d5cfb2d59f32dc43d # v0.8.3 | |
with: | |
environments: build | |
- name: Build project | |
run: pixi run -e build build-wheel | |
- name: Check package | |
run: pixi run -e build check-wheel | |
- name: Check store creation (verify that packaged version is working) | |
run: pixi exec -s python=3.9 -s pip sh check_store_creation.sh | |
- name: Upload package | |
uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4.6.1 | |
with: | |
name: artifact | |
path: dist/* | |
release: | |
name: Publish package | |
if: startsWith(github.ref, 'refs/tags/') | |
needs: [build] | |
runs-on: ubuntu-latest | |
permissions: | |
id-token: write | |
environment: pypi | |
steps: | |
- uses: actions/download-artifact@cc203385981b70ca67e1cc392babf9cc229d5806 # v4.1.9 | |
with: | |
name: artifact | |
path: dist | |
- name: Publish package on PyPi | |
uses: pypa/gh-action-pypi-publish@76f52bc884231f62b9a034ebfe128415bbaabdfc # v1.12.4 | |
with: | |
user: __token__ | |
password: ${{ secrets.pypi_password }} |