From 4297703ebefacc4f4056571068a6c039adbb5274 Mon Sep 17 00:00:00 2001 From: Jason Date: Thu, 11 Sep 2025 09:33:49 +0800 Subject: [PATCH] ci(release): pin runners for compatibility and update cache action\n\n- matrix: windows-2022 / ubuntu-22.04 / macos-14\n- assemble-latest-json runs on ubuntu-22.04\n- actions/cache bumped to v4 --- .github/workflows/release.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 00391ed..68242c2 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -18,9 +18,9 @@ jobs: strategy: matrix: include: - - os: windows-latest - - os: ubuntu-latest - - os: macos-latest + - os: windows-2022 + - os: ubuntu-22.04 + - os: macos-14 steps: - name: Checkout @@ -78,7 +78,7 @@ jobs: run: echo "path=$(pnpm store path --silent)" >> $GITHUB_OUTPUT - name: Setup pnpm cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ${{ steps.pnpm-store.outputs.path }} key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }} @@ -273,7 +273,7 @@ jobs: assemble-latest-json: name: Assemble latest.json - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 needs: release permissions: contents: write