[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:
@@ -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:
|
||||||
|
|||||||
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user