Skip to content

Commit 3ac07a2

Browse files
committed
CI: don't break with build_ext
1 parent 792f68c commit 3ac07a2

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/build.yml

+3-2
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,13 @@ jobs:
3838
run: |
3939
python -m pip install --upgrade pip
4040
python setup.py build_exe --yes
41-
$NAME="$(ls build)".Split('.',2)[1]
41+
$NAME="$(ls build | Select-String -Pattern 'exe')".Split('.',2)[1]
4242
$ZIP_NAME="Archipelago_$NAME.7z"
43+
echo "$NAME -> $ZIP_NAME"
4344
echo "ZIP_NAME=$ZIP_NAME" >> $Env:GITHUB_ENV
4445
New-Item -Path dist -ItemType Directory -Force
4546
cd build
46-
Rename-Item exe.$NAME Archipelago
47+
Rename-Item "exe.$NAME" Archipelago
4748
7z a -mx=9 -mhe=on -ms "../dist/$ZIP_NAME" Archipelago
4849
- name: Store 7z
4950
uses: actions/upload-artifact@v3

0 commit comments

Comments
 (0)