Skip to content

Commit 2ea6fc8

Browse files
committed
update build.yml, fix tar, avoid python cache
1 parent 241d15b commit 2ea6fc8

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,9 @@ jobs:
8282
- name: Get launcher version
8383
id: version
8484
working-directory: fujinet-pc-launcher/launcher
85+
# prevent __pycache__ to be created
86+
env:
87+
PYTHONDONTWRITEBYTECODE: 1
8588
run: |
8689
python -c 'import version; print(version.VERSION_FULL)'
8790
echo "::set-output name=launcher::$(python -c 'import version; print(version.VERSION_FULL)')"
@@ -238,7 +241,7 @@ jobs:
238241
- name: Zip release files
239242
working-directory: release
240243
run: |
241-
for D in fujinet-pc-scripts_*_all; do zip -r ${D}.zip $D; tar xzvf ${D}.tar.gz $D; done
244+
for D in fujinet-pc-scripts_*_all; do zip -r ${D}.zip $D; tar -czvf ${D}.tar.gz $D; done
242245
for D in fujinet-pc-launcher_*windows*; do (cd $D; zip -r ../fujinet-pc-bundle_${D#fujinet-pc-launcher_}.zip *); done
243246
244247
- name: Release

0 commit comments

Comments
 (0)