Просмотр исходного кода

Artifacts in zip should be executables

Paolo Asperti лет назад: 3
Родитель
Сommit
1b440b61e7
1 измененных файлов с 6 добавлено и 0 удалено
  1. 6 0
      .github/workflows/build.yaml

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

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