Skip to content

Commit

Permalink
[Unix Build Actions] Do not preserve directory tree when packing tar (#…
Browse files Browse the repository at this point in the history
…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
  • Loading branch information
NotHyper-474 authored Jul 18, 2024
1 parent 1e8149e commit d4a7d7e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
run: |
haxelib run lime build linux
- 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)
uses: actions/upload-artifact@v2
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
run: |
haxelib run lime build mac
- 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)
uses: actions/upload-artifact@v2
with:
Expand Down

0 comments on commit d4a7d7e

Please sign in to comment.