Skip to content

Commit

Permalink
Mark built artifacts as executable on non-windows systems
Browse files Browse the repository at this point in the history
  • Loading branch information
malmeloo committed Oct 28, 2023
1 parent 58862e6 commit 441b74b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ jobs:
Build-PC:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [windows-2022, ubuntu-22.04, ubuntu-20.04, macos-12]

Expand All @@ -24,6 +25,9 @@ jobs:
run: pip install --break-system-packages pyinstaller
- name: Build RiiTag RPC
run: pyinstaller riitag-rpc.spec
- name: Mark as executable
if: ${{ matrix.os != 'windows-2022' }}
run: chmod -R +x dist/
- name: Publish Build Artifacts
uses: actions/upload-artifact@master
with:
Expand Down Expand Up @@ -55,6 +59,7 @@ jobs:
pip3 install --break-system-packages -r requirements.txt
pip3 install --break-system-packages pyinstaller
pyinstaller riitag-rpc.spec
chmod +x -R dist/
- name: Publish Build Artifacts
uses: actions/upload-artifact@master
with:
Expand Down

0 comments on commit 441b74b

Please sign in to comment.