Skip to content

ci(deps-dev): pre-commit autoupdate #151

ci(deps-dev): pre-commit autoupdate

ci(deps-dev): pre-commit autoupdate #151

Workflow file for this run

name: Build
on:
push:
permissions:
contents: write
id-token: write
jobs:
build:
runs-on: ubuntu-latest
outputs:
package_version: ${{ steps.baipp.outputs.package_version }}
steps:
- uses: actions/checkout@v4
- uses: hynek/build-and-inspect-python-package@v2
id: baipp
publish:
runs-on: ubuntu-latest
needs: build
if: startsWith(github.ref, 'refs/tags/')
environment:
name: publishing
url: https://pypi.org/project/tap-bitso/${{ needs.build.outputs.package_version }}
steps:
- uses: actions/checkout@v4
- uses: actions/download-artifact@v4
with:
name: Packages
path: dist
- name: Upload wheel to release
uses: svenstaro/upload-release-action@v2
with:
file: dist/*.whl
tag: ${{ github.ref }}
overwrite: true
file_glob: true
- name: Publish
uses: pypa/[email protected]