Skip to content

Commit

Permalink
Update build-wheels.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
perara authored Dec 14, 2023
1 parent 31f261e commit 2b4fdf3
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/build-wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,15 @@ jobs:
- name: Build wheels
run: python -m cibuildwheel --output-dir wheelhouse

- name: Prefix wheels with branch name
if: startsWith(github.ref, 'refs/heads/')
run: |
branchName=${GITHUB_REF/refs\/heads\//}
for file in wheelhouse/*.whl; do
newName="${branchName}-$(basename $file)"
mv "$file" "wheelhouse/$newName"
done
shell: bash
#- name: Prefix wheels with branch name
# if: startsWith(github.ref, 'refs/heads/')
# run: |
# branchName=${GITHUB_REF/refs\/heads\//}
# for file in wheelhouse/*.whl; do
# newName="${branchName}-$(basename $file)"
# mv "$file" "wheelhouse/$newName"
# done
# shell: bash

- uses: actions/upload-artifact@v2
with:
Expand Down

0 comments on commit 2b4fdf3

Please sign in to comment.