Skip to content

ci: bump svenstaro/upload-release-action from 2.10.0 to 2.11.2 in the… #434

ci: bump svenstaro/upload-release-action from 2.10.0 to 2.11.2 in the…

ci: bump svenstaro/upload-release-action from 2.10.0 to 2.11.2 in the… #434

Workflow file for this run

name: Build
on:
push:
permissions:
contents: write
id-token: write
jobs:
build:
runs-on: ubuntu-latest
outputs:
package_name: ${{ steps.baipp.outputs.package_name }}
package_version: ${{ steps.baipp.outputs.package_version }}
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
fetch-depth: 0
- uses: hynek/build-and-inspect-python-package@c52c3a4710070b50470d903818a7b25115dcd076 # v2.13.0
id: baipp
publish:
runs-on: ubuntu-latest
needs: build
environment:
name: pypi
url: https://pypi.org/project/${{ needs.build.outputs.package_name }}/${{ needs.build.outputs.package_version }}
if: startsWith(github.ref, 'refs/tags/')
steps:
- uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
with:
name: Packages
path: dist
- name: Upload wheel to release
uses: svenstaro/upload-release-action@81c65b7cd4de9b2570615ce3aad67a41de5b1a13 # 2.11.2
with:
file: dist/*.whl
tag: ${{ github.ref }}
overwrite: true
file_glob: true
- name: Publish
uses: pypa/gh-action-pypi-publish@76f52bc884231f62b9a034ebfe128415bbaabdfc # v1.12.4