tar mac and linux binary

to keep the execute permission bit
This commit is contained in:
travisladuke 2024-09-10 13:45:50 -07:00
parent 223ec0c59d
commit 560d6fba1b

View File

@ -32,11 +32,13 @@ jobs:
run: | run: |
make selftest make selftest
./zerotier-selftest ./zerotier-selftest
- name: 'Tar files' # keeps permissions (execute)
run: tar -cvf zerotier-one.tar zerotier-one
- name: Archive production artifacts - name: Archive production artifacts
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v4
with: with:
name: zerotier-one-ubuntu-x64 name: zerotier-one-ubuntu-x64
path: zerotier-one path: zerotier-one.tar
retention-days: 7 retention-days: 7
build_macos: build_macos:
@ -74,11 +76,13 @@ jobs:
run: | run: |
make selftest make selftest
./zerotier-selftest ./zerotier-selftest
- name: 'Tar files' # keeps permissions (execute)
run: tar -cvf zerotier-one.tar zerotier-one
- name: Archive production artifacts - name: Archive production artifacts
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v4
with: with:
name: zerotier-one-mac name: zerotier-one-mac
path: zerotier-one path: zerotier-one.tar
retention-days: 7 retention-days: 7