Skip to content

Commit

Permalink
Add short sha to artifact name
Browse files Browse the repository at this point in the history
  • Loading branch information
1yefuwang1 committed Jul 1, 2024
1 parent c6efa31 commit 978a489
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/build-wheel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,11 @@ jobs:
- name: Build wheels
run: pipx run cibuildwheel --output-dir wheelhouse

- name: Short SHA
shell: bash
run: echo "sha_short=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT

- uses: actions/upload-artifact@v4
with:
name: cibw-wheels-${{ matrix.os }}-${{ strategy.job-index }}
name: vectorlite-${{ matrix.os }}-${{ strategy.job-index }}-${{ github.sha_short }}
path: ./wheelhouse/*.whl

0 comments on commit 978a489

Please sign in to comment.