From 9ff1fa53b6208d43685c7e422479449b3afdb5d4 Mon Sep 17 00:00:00 2001 From: Kichura <68134602+Kichura@users.noreply.github.com> Date: Thu, 19 Dec 2024 20:16:04 +0100 Subject: [PATCH] windows-2022 -> windows-2025. --- .github/workflows/build-signed.yml | 4 +++- .github/workflows/build.yml | 12 ++++++++---- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build-signed.yml b/.github/workflows/build-signed.yml index 7d139cb..659b603 100644 --- a/.github/workflows/build-signed.yml +++ b/.github/workflows/build-signed.yml @@ -6,10 +6,12 @@ jobs: build-signed: permissions: contents: write - runs-on: windows-2022 + runs-on: windows-2025 steps: - name: Checkout Repository uses: actions/checkout@v4 + with: + persist-credentials: false - name: Install Go uses: actions/setup-go@v5 - name: Setup pnpm diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3a422b1..aee373c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -11,6 +11,8 @@ jobs: steps: - name: Checkout Repository uses: actions/checkout@v4 + with: + persist-credentials: false - name: Install Go uses: actions/setup-go@v5 with: @@ -33,7 +35,7 @@ jobs: fail-fast: false matrix: # maybe update to macOS 14 if this is ARM64-ready? - platform: [macos-13, ubuntu-20.04, windows-2022] + platform: [macos-13, ubuntu-20.04, windows-2025] runs-on: ${{ matrix.platform }} steps: @@ -41,13 +43,15 @@ jobs: uses: mozilla-actions/sccache-action@v0.0.4 - name: Checkout Repository uses: actions/checkout@v4 + with: + persist-credentials: false - name: Download Verifier uses: actions/download-artifact@v4 with: name: verifier-builds path: verifier/dist/ - name: Apply +x to verifier - if: matrix.platform != 'windows-2022' + if: matrix.platform != 'windows-2025' run: chmod +x verifier/dist/* - name: Setup pnpm uses: pnpm/action-setup@v3 @@ -93,7 +97,7 @@ jobs: path: src-tauri/target/release/bundle/dmg/*.dmg - name: Upload the Windows packages uses: actions/upload-artifact@v4 - if: matrix.platform == 'windows-2022' + if: matrix.platform == 'windows-2025' with: name: windows-packages path: src-tauri/target/release/*.exe @@ -123,7 +127,7 @@ jobs: path: src-tauri/target/debug/bundle/dmg/*.dmg - name: Upload the Windows packages uses: actions/upload-artifact@v4 - if: matrix.platform == 'windows-2022' + if: matrix.platform == 'windows-2025' with: name: windows-packages-debug path: src-tauri/target/debug/*.exe