From ddaca9d12619ccf81873fdd85e36f0e79e492da4 Mon Sep 17 00:00:00 2001 From: Youwes09 Date: Wed, 10 Jun 2026 12:55:30 -0500 Subject: [PATCH] Fix: Workflow Failure (P.1) --- .github/workflows/build-linux.yml | 8 ++++++-- .github/workflows/build-macos.yml | 11 ++++++++--- .github/workflows/build-windows.yml | 14 ++++++++++---- 3 files changed, 24 insertions(+), 9 deletions(-) diff --git a/.github/workflows/build-linux.yml b/.github/workflows/build-linux.yml index b7fb699..7a26b6c 100644 --- a/.github/workflows/build-linux.yml +++ b/.github/workflows/build-linux.yml @@ -19,7 +19,9 @@ jobs: - uses: pnpm/action-setup@v4 with: { version: latest } - uses: actions/setup-node@v4 - with: { node-version: 22, cache: pnpm } + with: + node-version: 22 + cache: pnpm - run: pnpm install --frozen-lockfile - run: pnpm build:static - uses: actions/upload-artifact@v4 @@ -60,7 +62,9 @@ jobs: - uses: pnpm/action-setup@v4 with: { version: latest } - uses: actions/setup-node@v4 - with: { node-version: 22, cache: pnpm } + with: + node-version: 22 + cache: pnpm - run: pnpm install --frozen-lockfile - name: Download Suwayomi (Linux x64) diff --git a/.github/workflows/build-macos.yml b/.github/workflows/build-macos.yml index 8769f06..3a02ff7 100644 --- a/.github/workflows/build-macos.yml +++ b/.github/workflows/build-macos.yml @@ -19,7 +19,9 @@ jobs: - uses: pnpm/action-setup@v4 with: { version: latest } - uses: actions/setup-node@v4 - with: { node-version: 22, cache: pnpm } + with: + node-version: 22 + cache: pnpm - run: pnpm install --frozen-lockfile - run: pnpm build:static - uses: actions/upload-artifact@v4 @@ -43,7 +45,8 @@ jobs: echo "SUWA_HASH_X64=$SUWA_HASH_MACOS_X64" >> $GITHUB_ENV - uses: dtolnay/rust-toolchain@stable - with: { targets: aarch64-apple-darwin,x86_64-apple-darwin } + with: + targets: "aarch64-apple-darwin,x86_64-apple-darwin" - uses: Swatinem/rust-cache@v2 with: { workspaces: src-tauri } @@ -51,7 +54,9 @@ jobs: - uses: pnpm/action-setup@v4 with: { version: latest } - uses: actions/setup-node@v4 - with: { node-version: 22, cache: pnpm } + with: + node-version: 22 + cache: pnpm - run: pnpm install --frozen-lockfile - name: Download Suwayomi binaries diff --git a/.github/workflows/build-windows.yml b/.github/workflows/build-windows.yml index 0dcb52a..edfbef6 100644 --- a/.github/workflows/build-windows.yml +++ b/.github/workflows/build-windows.yml @@ -19,7 +19,9 @@ jobs: - uses: pnpm/action-setup@v4 with: { version: latest } - uses: actions/setup-node@v4 - with: { node-version: 22, cache: pnpm } + with: + node-version: 22 + cache: pnpm - run: pnpm install --frozen-lockfile - run: pnpm build:static - uses: actions/upload-artifact@v4 @@ -51,7 +53,9 @@ jobs: - uses: pnpm/action-setup@v4 with: { version: latest } - uses: actions/setup-node@v4 - with: { node-version: 22, cache: pnpm } + with: + node-version: 22 + cache: pnpm - run: pnpm install --frozen-lockfile - name: Download Suwayomi (Windows x64) @@ -87,7 +91,8 @@ jobs: - name: Delete existing draft release shell: bash - env: { GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" } + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | RELEASE_ID=$(curl -s -H "Authorization: Bearer $GITHUB_TOKEN" \ "https://api.github.com/repos/moku-project/Moku/releases" \ @@ -101,7 +106,8 @@ jobs: - name: Build Tauri app + create draft release uses: tauri-apps/tauri-action@v0 - env: { GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" } + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: tagName: v${{ github.event.inputs.version }} releaseName: Moku v${{ github.event.inputs.version }}