From dfd7ac3543a0e0cbf5b26b18a497f79b1b793af7 Mon Sep 17 00:00:00 2001 From: Graeme Nail Date: Mon, 31 Jul 2023 10:31:42 +0100 Subject: [PATCH 1/2] Use ubuntu-latest, macos-latest in GitHub Actions for cibuildwheel --- .github/workflows/build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d0afe1649..2ae968629 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -24,7 +24,7 @@ jobs: build-wheels: strategy: matrix: - os: [ubuntu-20.04, macos-10.15] + os: [ubuntu-latest, macos-latest] fail-fast: false name: "cibuildwheel / ${{ matrix.os }}" @@ -281,7 +281,7 @@ jobs: ${{github.workspace}}/build-wasm/bergamot-translator-worker.wasm ${{github.workspace}}/build-wasm/bergamot-translator-worker.js.bak - + upload-wasm: name: "Upload node package to NPM" runs-on: ubuntu-latest From 24a580717cd0429412e8aa7f5b1cb3cd5df5eb94 Mon Sep 17 00:00:00 2001 From: Graeme Nail Date: Mon, 31 Jul 2023 11:45:36 +0100 Subject: [PATCH 2/2] Update deprecated ubuntu-18.04 to ubuntu-latest for docs in GH actions --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 2ae968629..f06b26357 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -383,7 +383,7 @@ jobs: python3 -m pytype bindings/python docs: - runs-on: ubuntu-18.04 + runs-on: ubuntu-latest needs: [build-wheels] steps: - name: Checkout