Skip to content

Commit 9bc02da

Browse files
author
Snowy
committed
CI: Don't rename files
Python doesn't like it when wheels are renamed. I am sorry python for trying to make it easier for people to identify the file they need. I did not mean to make you angry. It was a severe and constant lapse in judgement. Please forgive me.
1 parent 446167a commit 9bc02da

File tree

1 file changed

+4
-15
lines changed

1 file changed

+4
-15
lines changed

.github/workflows/build.yaml

Lines changed: 4 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -82,19 +82,13 @@ jobs:
8282
--msvc-version=14.3 `
8383
--windows-sdk=10
8484
85-
- name: Rename Panda Binaries
86-
shell: powershell
87-
run: |
88-
Rename-Item Panda3D-1.11.0-py3.11-x64.exe Panda3D-Windows-x64.exe
89-
Rename-Item panda3d-1.11.0-cp311-cp311-win_amd64.whl Panda3D-Windows-x64.whl
90-
9185
- name: Upload Panda Binaries
9286
shell: powershell
9387
env:
9488
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
9589
run: |
96-
gh release upload ${{ github.ref_name }} Panda3D-Windows-x64.exe
97-
gh release upload ${{ github.ref_name }} Panda3D-Windows-x64.whl
90+
gh release upload ${{ github.ref_name }} Panda3D-1.11.0-py3.11-x64.exe
91+
gh release upload ${{ github.ref_name }} panda3d-1.11.0-cp311-cp311-win_amd64.whl
9892
9993
build-linux:
10094
runs-on: ubuntu-latest
@@ -193,14 +187,9 @@ jobs:
193187
--python-incdir="$pythonLocation/include" \
194188
--python-libdir="$pythonLocation/lib"
195189
196-
- name: Rename Panda Binaries
197-
run: |
198-
mv panda3d1.11_1.11.0_amd64.deb Panda3D-Linux-x64.deb
199-
mv panda3d-1.11.0-cp311-cp311-linux_x86_64.whl Panda3D-Linux-x64.whl
200-
201190
- name: Upload Panda Binaries
202191
env:
203192
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
204193
run: |
205-
gh release upload ${{ github.ref_name }} Panda3D-Linux-x64.deb
206-
gh release upload ${{ github.ref_name }} Panda3D-Linux-x64.whl
194+
gh release upload ${{ github.ref_name }} panda3d1.11_1.11.0_amd64.deb
195+
gh release upload ${{ github.ref_name }} panda3d-1.11.0-cp311-cp311-linux_x86_64.whl

0 commit comments

Comments
 (0)