Skip to content

Commit

Permalink
chore: upload wheel as an artifact
Browse files Browse the repository at this point in the history
  • Loading branch information
piankris committed Oct 23, 2024
1 parent f531c45 commit cf8d09d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ jobs:
uses: commitizen-tools/[email protected]
with:
github_token: ${{ secrets.PAT }}

publish:
if: "startsWith(github.event.head_commit.message, 'bump:')"
runs-on: ubuntu-latest
Expand All @@ -34,9 +35,14 @@ jobs:
cache-dependency-glob: "uv.lock"
- name: Build package
run: uv build
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
path: dist/*.whl
- name: Release
uses: softprops/[email protected]
with:
files: dist/*
tag_name: ${{ env.REVISION }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit cf8d09d

Please sign in to comment.