From 2fef8d6643ad15268254d89ec84199c735142404 Mon Sep 17 00:00:00 2001 From: Will Pfleger Date: Fri, 12 Jun 2026 17:58:55 -0400 Subject: [PATCH] fix(release): replace hermit with native tool setup on Windows job (#1018) Signed-off-by: Will Pfleger Co-authored-by: Will Pfleger Co-authored-by: npub1mn7jgtj4w2pd0g0zeuhxsa6jy6p0rewxz4kujt98my82ahfmp72sxjexk7 --- .github/workflows/release.yml | 22 ++++++++++++++++------ 1 file changed, 16 insertions(+), 6 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e55347c9a4..2e3e70d027 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -564,15 +564,25 @@ jobs: ref: ${{ github.event_name == 'push' && github.ref || inputs.ref }} persist-credentials: false - - uses: cashapp/activate-hermit@e49f5cb4dd64ff0b0b659d1d8df499595451155a # v1 + - uses: dtolnay/rust-toolchain@e081816240890017053eacbb1bdf337761dc5582 # 1.95.0 + with: + targets: ${{ env.TARGET }} + + - uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0 + with: + node-version: 24.14.0 + # Disable dependency caching: a writable cache in this release workflow + # (contents: write, feeds a signed installer) is a poisoning vector. pnpm + # install runs uncached below. + package-manager-cache: false + + - uses: pnpm/action-setup@b906affcce14559ad1aafd4ab0e942779e9f58b1 # v4.3.0 + with: + version: 11.4.0 - name: Install desktop dependencies shell: bash - run: just desktop-install-ci - - - name: Add Rust target - shell: bash - run: rustup target add "$TARGET" + run: pnpm install --frozen-lockfile - name: Patch version shell: bash