File tree Expand file tree Collapse file tree 1 file changed +14
-1
lines changed
Expand file tree Collapse file tree 1 file changed +14
-1
lines changed Original file line number Diff line number Diff line change @@ -52,14 +52,27 @@ jobs:
5252 - name : Move wheels into /wheels directory for GitHub Pages and trigger gh pages redeploy
5353 if : startsWith(github.ref, 'refs/tags/')
5454 run : |
55+ # Switch to real branch
56+ git fetch origin main
57+ git checkout main
58+ git pull
59+
60+ # Copy new wheels
61+ mkdir -p wheels
5562 rm -f wheels/*.whl || true
5663 cp wheelhouse/*.whl wheels/
64+
5765 echo "Copied wheels:"
5866 ls -lh wheels/
67+
68+ # Commit
5969 git config user.name "GitHub Actions"
6070 git config user.email "actions@github.com"
71+
72+ git add wheels
73+
6174 git commit -a -m "Update wheels for release ${{ github.ref_name }}"
62- git push
75+ git push origin main
6376
6477# This is not working yet
6578# - name: Upload wheel to release
You can’t perform that action at this time.
0 commit comments