Skip to content

Commit

Permalink
fix: compile add-data themes
Browse files Browse the repository at this point in the history
  • Loading branch information
maxb2 committed May 18, 2020
1 parent 5f5a9bb commit 771a20f
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/build-executables.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,13 @@ jobs:
runs-on: ${{ matrix.os }}-latest
strategy:
matrix:
os: [ubuntu, macos, windows]
include:
- os: ubuntu
add-data: 'themes:themes'
- os: macos
add-data: 'themes:themes'
- os: windows
add-data: 'themes;themes'
steps:
- name: Checkout code
uses: actions/checkout@v2
Expand All @@ -32,7 +38,7 @@ jobs:
run: |
mkdir ${{ matrix.os }}
cd donjon_painter
python -O -m PyInstaller --clean --onefile --name donjon-painter --distpath ../${{ matrix.os }} painter.py
python -O -m PyInstaller --clean --onefile --add-data="${{ matrix.add-data }}" --name donjon-painter --distpath ../${{ matrix.os }} painter.py
- name: Package Executable
run: |
Expand Down

0 comments on commit 771a20f

Please sign in to comment.