From 08c72152d018b1a93df60c8cb8d78c0b76c6da5f Mon Sep 17 00:00:00 2001 From: Radiquum Date: Wed, 25 Jun 2025 16:24:14 +0500 Subject: [PATCH] feat/ci: re-enable windows build --- .github/workflows/build.yml | 72 ++++++++++++++++++------------------- 1 file changed, 36 insertions(+), 36 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ff484e9..11735e2 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -57,39 +57,39 @@ jobs: if-no-files-found: warn retention-days: 14 - # build_windows: - # name: "windows-build" - # runs-on: windows-latest - # steps: - # - name: "[Preparing] cloning repository" - # uses: actions/checkout@v4 - # - name: "[DEPS/Tool] bun" - # uses: oven-sh/setup-bun@v2 - # - name: "[DEPS/Tool] python" - # uses: actions/setup-python@v5 - # with: - # python-version: '3.13.2' - # cache: 'pip' - # - name: "[DEPS/Build] Backend" - # run: | - # "pip install -r requirements.txt" - # "pip install -r requirements.dev.txt" - # - name: "[DEPS/Build] Frontend" - # run: "bun install" - # working-directory: ./gui - # - name: "[Build] Building artifact" - # run: "python ./build.py --exe" - # - name: "[Publish] Upload GUI Artifact" - # uses: actions/upload-artifact@v4 - # with: - # name: "YAMPD-gui.exe" - # path: "./dist/gui.exe" - # if-no-files-found: warn - # retention-days: 14 - # - name: "[Publish] Upload CLI Artifact" - # uses: actions/upload-artifact@v4 - # with: - # name: "YAMPD-cli.exe" - # path: "./dist/cli.exe" - # if-no-files-found: warn - # retention-days: 14 + build_windows: + name: "windows-build" + runs-on: windows-latest + steps: + - name: "[Preparing] cloning repository" + uses: actions/checkout@v4 + - name: "[DEPS/Tool] bun" + uses: oven-sh/setup-bun@v2 + - name: "[DEPS/Tool] python" + uses: actions/setup-python@v5 + with: + python-version: '3.13.2' + cache: 'pip' + - name: "[DEPS/Build] Backend" + run: | + pip install -r requirements.txt + pip install -r requirements.build.txt + - name: "[DEPS/Build] Frontend" + run: "bun install" + working-directory: ./gui + - name: "[Build] Building artifact" + run: python ./build.py --exe + - name: "[Publish] Upload GUI Artifact" + uses: actions/upload-artifact@v4 + with: + name: "YAMPD-gui-windows.exe" + path: "./dist/yamcpack.exe" + if-no-files-found: warn + retention-days: 14 + - name: "[Publish] Upload CLI Artifact" + uses: actions/upload-artifact@v4 + with: + name: "YAMPD-cli-windows.exe" + path: "./dist/yamcpack-cli.exe" + if-no-files-found: warn + retention-days: 14