From 771a20f9491bb31136ba351c620f11c58caabf5e Mon Sep 17 00:00:00 2001 From: maxb2 Date: Mon, 18 May 2020 12:52:54 -0500 Subject: [PATCH] fix: compile add-data themes --- .github/workflows/build-executables.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-executables.yml b/.github/workflows/build-executables.yml index b59a484..d8a1c53 100644 --- a/.github/workflows/build-executables.yml +++ b/.github/workflows/build-executables.yml @@ -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 @@ -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: |