From 2c2485738d57ff72cde3d0ce42aa64c51d255dfe Mon Sep 17 00:00:00 2001 From: marc2332 Date: Tue, 5 Nov 2024 17:21:08 +0100 Subject: [PATCH 1/2] fix(tooling-wallet): Fix wallet build rc workflow script --- .github/workflows/apps_wallet_rc_build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/apps_wallet_rc_build.yml b/.github/workflows/apps_wallet_rc_build.yml index 625c6cbc23f..612fee8a728 100644 --- a/.github/workflows/apps_wallet_rc_build.yml +++ b/.github/workflows/apps_wallet_rc_build.yml @@ -41,7 +41,7 @@ jobs: export artifact_name="iota-wallet-${{ steps.package-version.outputs.current-version }}-rc.${{ env.RC_VERSION }}" echo "artifact_name=${artifact_name}" >> $GITHUB_ENV - name: Build Wallet - run: pnpm wallet build:rc + run: pnpm --filter=iota-wallet build:rc - name: Upload artifacts uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # pin@v4 with: From a2b4f99174684d12f14f2c6d5838b9d7c3af8550 Mon Sep 17 00:00:00 2001 From: marc2332 Date: Tue, 5 Nov 2024 17:24:49 +0100 Subject: [PATCH 2/2] replace it with a turbo task --- .github/workflows/apps_wallet_rc_build.yml | 2 +- turbo.json | 13 +++++++++++++ 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/.github/workflows/apps_wallet_rc_build.yml b/.github/workflows/apps_wallet_rc_build.yml index 612fee8a728..625c6cbc23f 100644 --- a/.github/workflows/apps_wallet_rc_build.yml +++ b/.github/workflows/apps_wallet_rc_build.yml @@ -41,7 +41,7 @@ jobs: export artifact_name="iota-wallet-${{ steps.package-version.outputs.current-version }}-rc.${{ env.RC_VERSION }}" echo "artifact_name=${artifact_name}" >> $GITHUB_ENV - name: Build Wallet - run: pnpm --filter=iota-wallet build:rc + run: pnpm wallet build:rc - name: Upload artifacts uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # pin@v4 with: diff --git a/turbo.json b/turbo.json index f73103f2c7e..0035645487c 100644 --- a/turbo.json +++ b/turbo.json @@ -28,6 +28,19 @@ "!.next/cache/**", "pkg/**" ] + }, + "build:rc": { + "dependsOn": [ + "^build" + ], + "outputs": [ + "build/**", + "dist/**", + "storybook-static/**", + ".next/**", + "!.next/cache/**", + "pkg/**" + ] } }, "globalEnv": [