ソースを参照

tar mac and linux binary

to keep the execute permission bit
travisladuke 10 ヶ月 前
コミット
560d6fba1b
1 ファイル変更6 行追加2 行削除
  1. 6 2
      .github/workflows/build.yml

+ 6 - 2
.github/workflows/build.yml

@@ -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