chore(main): release 0.4.1 (#41) #79
This file contains hidden or 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
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| name: release-please | |
| jobs: | |
| release-please: | |
| runs-on: ubuntu-latest | |
| outputs: | |
| release_created: ${{ steps.release.outputs.release_created }} | |
| steps: | |
| - uses: GoogleCloudPlatform/release-please-action@v3 | |
| id: release | |
| if: github.event_name == 'push' && github.ref == 'refs/heads/main' | |
| with: | |
| release-type: python | |
| package-name: snakemake-storage-plugin-xrootd | |
| build-distributions: | |
| runs-on: ubuntu-latest | |
| needs: release-please | |
| permissions: | |
| id-token: write | |
| steps: | |
| - name: Check out the code | |
| uses: actions/checkout@v4 | |
| - uses: prefix-dev/[email protected] | |
| - name: Build distributions | |
| run: git fetch --tags && pixi exec python-build | |
| - name: Check package metadata | |
| run: pixi exec twine check dist/* | |
| - name: Publish package on PyPI | |
| if: needs.release-please.outputs.release_created | |
| uses: pypa/gh-action-pypi-publish@release/v1 |