[Unix Build Actions] Do not preserve directory tree when packing tar (#334)

* Update linux.yml

Now it won't preserve the directory tree (i.e it won't include the "export/release/linux/bin" folders)

* do the same for macos
This commit is contained in:
Hyper_
2024-07-18 22:48:58 +02:00
committed by GitHub
parent 1e8149e094
commit d4a7d7eac4
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -36,7 +36,7 @@ jobs:
run: | run: |
haxelib run lime build linux haxelib run lime build linux
- name: Tar files - name: Tar files
run: tar -zcvf CodenameEngine.tar.gz export/release/linux/bin run: tar -zcvf CodenameEngine.tar.gz -C export/release/linux/bin .
- name: Uploading artifact (entire build) - name: Uploading artifact (entire build)
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v2
with: with:
+1 -1
View File
@@ -33,7 +33,7 @@ jobs:
run: | run: |
haxelib run lime build mac haxelib run lime build mac
- name: Tar files - name: Tar files
run: tar -zcvf CodenameEngine.tar.gz export/release/macos/bin run: tar -zcvf CodenameEngine.tar.gz -C export/release/macos/bin .
- name: Uploading artifact (entire build) - name: Uploading artifact (entire build)
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v2
with: with: