Skip to content

Commit

Permalink
tar mac and linux binary
Browse files Browse the repository at this point in the history
to keep the execute permission bit
  • Loading branch information
laduke committed Sep 10, 2024
1 parent 223ec0c commit 560d6fb
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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


Expand Down

0 comments on commit 560d6fb

Please sign in to comment.