Skip to content

Commit fd118bb

Browse files
committed
Further edits to wasm wheels
1 parent ba8c32d commit fd118bb

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

.github/workflows/wasm.yml

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)