Browse Source

Merge pull request #111 from paspo/zip_perm

Artifacts in zip should be executables
RustDesk 3 years ago
parent
commit
74cb82c8a2
1 changed files with 6 additions and 0 deletions
  1. 6 0
      .github/workflows/build.yaml

+ 6 - 0
.github/workflows/build.yaml

@@ -59,6 +59,9 @@ jobs:
59 59
       # - name: Run tests
60 60
       #   run: cargo test --verbose
61 61
 
62
+      - name: Exec chmod
63
+        run: chmod -v a+x target/${{ matrix.job.target }}/release/*
64
+
62 65
       - name: Publish Artifacts
63 66
         uses: actions/upload-artifact@v3
64 67
         with:
@@ -92,6 +95,9 @@ jobs:
92 95
           name: binaries-${{ matrix.job.name }}
93 96
           path: ${{ matrix.job.name }}
94 97
 
98
+      - name: Exec chmod
99
+        run: chmod -v a+x ${{ matrix.job.name }}/*
100
+
95 101
       - name: Pack files (${{ matrix.job.name }})
96 102
         run: |
97 103
           sudo apt update