From 19bfa11eef3b685a8cec290a3a8fb57ce1d94364 Mon Sep 17 00:00:00 2001 From: Techtanic <64263079+techtanic@users.noreply.github.com> Date: Sat, 2 Nov 2024 12:33:57 +0530 Subject: [PATCH] chore: Refactor build workflow to improve readability of pyinstaller command --- .github/workflows/build.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 377f107..8263049 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -35,13 +35,13 @@ jobs: run: pip install -r requirements.txt pyinstaller -U - name: Build ${{ matrix.name }} - run: | - pyinstaller -y -F ${{ matrix.mode }} -i "${{ matrix.icon }}" --clean --name "${{ matrix.name }}" \ - --add-data "base.py;." \ - --add-data "colors.py;." \ - --add-data "${{ matrix.settings }};." \ - --add-data "README.md;." \ - --add-data "LICENSE;." \ + run: > + pyinstaller -y -F ${{ matrix.mode }} -i "${{ matrix.icon }}" --clean --name "${{ matrix.name }}" + --add-data "base.py;." + --add-data "colors.py;." + --add-data "${{ matrix.settings }};." + --add-data "README.md;." + --add-data "LICENSE;." "${{ matrix.script }}" - name: Upload ${{ matrix.name }}.exe