From 1d3aa889d5ae1c24c6f6c0653bd92ba7acdc1da5 Mon Sep 17 00:00:00 2001 From: Kevin Yue Date: Wed, 11 Jun 2025 11:37:48 +0800 Subject: [PATCH] ci: use GitHub hosted arm action runner --- .github/workflows/build.yaml | 2 +- .github/workflows/release.yaml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 9ae8d1d..8374157 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -31,7 +31,7 @@ jobs: run: | # Set the matrix to include arm64 if the ref is a tag or is the dev branch if [[ "${{ github.ref }}" == "refs/tags/"* || "${{ github.ref }}" == "refs/heads/dev" ]]; then - echo 'matrix=[{"runner": "ubuntu-latest", "arch": "amd64"}, {"runner": "arm64", "arch": "arm64"}]' >> $GITHUB_OUTPUT + echo 'matrix=[{"runner": "ubuntu-latest", "arch": "amd64"}, {"runner": "ubuntu-24.04-arm", "arch": "ubuntu-24.04-arm"}]' >> $GITHUB_OUTPUT else echo 'matrix=[{"runner": "ubuntu-latest", "arch": "amd64"}]' >> $GITHUB_OUTPUT fi diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 4405982..9508d87 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -73,9 +73,9 @@ jobs: const inputs = ${{ toJson(inputs) }} const { arch } = inputs const osMap = { - "all": ["ubuntu-latest", "arm64"], + "all": ["ubuntu-latest", "ubuntu-24.04-arm"], "x86_64": ["ubuntu-latest"], - "arm64": ["arm64"] + "arm64": ["ubuntu-24.04-arm"] } const package = Object.entries(inputs)