From 6486e12eff7888791768d90bbd33aee47fa77686 Mon Sep 17 00:00:00 2001 From: Sukka Date: Thu, 21 Jul 2022 21:38:18 +0800 Subject: [PATCH] ci: dropping macos-10.15 (#38865) GitHub Action is sunsetting the `macos-10.15` runner and it will be removed by 8/30/22: https://github.blog/changelog/2022-07-20-github-actions-the-macos-10-15-actions-runner-image-is-being-deprecated-and-will-be-removed-by-8-30-22/ Next.js only uses `macos-10.15` for building the freebsd version of the `next-swc` binary, and I have checked [`vmactions/freebsd-vm`](https://github.com/vmactions/freebsd-vm) does support `macos-12` (which requires `vmactions/freebsd-vm@0.2.0`). I have updated the `runs-on` to `macos-12` and bumped `vmactions/freebsd-vm` to `0.2.0` in the PR. --- .github/workflows/build_test_deploy.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build_test_deploy.yml b/.github/workflows/build_test_deploy.yml index 41924ec9d929..c4685e243ad2 100644 --- a/.github/workflows/build_test_deploy.yml +++ b/.github/workflows/build_test_deploy.yml @@ -1441,7 +1441,7 @@ jobs: if: ${{ needs.build.outputs.isRelease == 'true' }} needs: build name: stable - x86_64-unknown-freebsd - node@16 - runs-on: macos-10.15 + runs-on: macos-12 steps: - name: tune mac network run: sudo sysctl -w net.link.generic.system.hwcksum_tx=0 && sudo sysctl -w net.link.generic.system.hwcksum_rx=0 @@ -1456,7 +1456,7 @@ jobs: rm -rf test - name: Build id: build - uses: vmactions/freebsd-vm@v0.1.6 + uses: vmactions/freebsd-vm@v0.2.0 env: DEBUG: napi:* RUSTUP_HOME: /usr/local/rustup