From e8081f6691ddfcdce63b3c5c01881e171db3d45d Mon Sep 17 00:00:00 2001 From: Daniel Lockyer Date: Tue, 18 Aug 2020 13:05:15 +0100 Subject: [PATCH] Pinned Ubuntu version for tests & release workflows - we were using `ubuntu-latest`, which is an alias for 18.04, but there's an increasingly likely chance that the default becomes 20.04 soon. - we don't officially support 20.04 yet, so we want to pin to our supported version until we're ready --- .github/workflows/release.yml | 2 +- .github/workflows/test.yml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4853527142..9762fa48ae 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -5,7 +5,7 @@ on: - '*' jobs: automate: - runs-on: ubuntu-latest + runs-on: ubuntu-18.04 env: RELEASE_TOKEN: ${{ secrets.RELEASE_TOKEN }} NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index a056344055..ebac967f75 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -11,7 +11,7 @@ env: FORCE_COLOR: 1 jobs: test: - runs-on: ubuntu-latest + runs-on: ubuntu-18.04 if: github.event_name == 'push' || (github.event_name == 'pull_request' && !startsWith(github.head_ref, 'renovate/')) strategy: matrix: @@ -59,7 +59,7 @@ jobs: ghost-cli: name: Ghost-CLI if: github.event_name == 'push' || (github.event_name == 'pull_request' && !startsWith(github.head_ref, 'renovate/')) - runs-on: ubuntu-latest + runs-on: ubuntu-18.04 steps: - uses: actions/checkout@v2 with: