From 560d6fba1b4be56627e3d37d0f37f6428dc5349d Mon Sep 17 00:00:00 2001 From: travisladuke Date: Tue, 10 Sep 2024 13:45:50 -0700 Subject: [PATCH] tar mac and linux binary to keep the execute permission bit --- .github/workflows/build.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 481188053..b9e1f4904 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -32,11 +32,13 @@ jobs: run: | make selftest ./zerotier-selftest + - name: 'Tar files' # keeps permissions (execute) + run: tar -cvf zerotier-one.tar zerotier-one - name: Archive production artifacts uses: actions/upload-artifact@v4 with: name: zerotier-one-ubuntu-x64 - path: zerotier-one + path: zerotier-one.tar retention-days: 7 build_macos: @@ -74,11 +76,13 @@ jobs: run: | make selftest ./zerotier-selftest + - name: 'Tar files' # keeps permissions (execute) + run: tar -cvf zerotier-one.tar zerotier-one - name: Archive production artifacts uses: actions/upload-artifact@v4 with: name: zerotier-one-mac - path: zerotier-one + path: zerotier-one.tar retention-days: 7