From 95b00bd8889287584fd8073cdd2bd1f0512259ab Mon Sep 17 00:00:00 2001 From: Yusuf Yavuzyigit <66898768+Draconis-25@users.noreply.github.com> Date: Tue, 8 Aug 2023 18:28:32 +0300 Subject: [PATCH] Fix CI for Ubuntu and MacOS (#1388) Seems like ubuntu-18.04 and macos-10.15 are no longer hosted by GitHub. Switching to ubuntu-latest (at the time of writing: 22.04) and macos-latest (at the time of writing 12) works. [GitHub hosted runners](https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners#supported-runners-and-hardware-resources) --- .github/workflows/cd.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index e4e7c21..ecd50bc 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -12,14 +12,16 @@ jobs: cancel_previous_runs: runs-on: ubuntu-latest name: Cancel Previous Runs + permissions: + actions: write steps: - - uses: styfle/cancel-workflow-action@0.8.0 + - uses: styfle/cancel-workflow-action@0.9.1 with: access_token: ${{ github.token }} test_ubuntu: needs: [cancel_previous_runs] - runs-on: ubuntu-18.04 + runs-on: ubuntu-latest name: Test Ubuntu steps: - uses: actions/checkout@v2 @@ -43,7 +45,7 @@ jobs: test_macos: needs: [cancel_previous_runs] - runs-on: macos-10.15 + runs-on: macos-latest name: Test macOS steps: - uses: actions/checkout@v2 @@ -91,7 +93,7 @@ jobs: build_release_macos: needs: [test_ubuntu, test_windows, test_macos] name: Build Release macOS - runs-on: macos-10.15 + runs-on: macos-latest steps: - uses: actions/checkout@v2 - name: Install Dependencies