From 23b33d799ec071496b685f92da76ad63d8934833 Mon Sep 17 00:00:00 2001 From: PikachuEXE Date: Fri, 12 Aug 2022 07:07:48 +0800 Subject: [PATCH] * Update GH workflows to run on ubuntu-latest (#2466) Especially with ubuntu-18.04 deprecated https://github.blog/changelog/2022-08-09-github-actions-ubuntu-22-04-is-now-generally-available-on-github-hosted-runners/ --- .github/workflows/build.yml | 2 +- .github/workflows/linter.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 8dc0f5f8..77b99a85 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -15,7 +15,7 @@ jobs: runtime: [ linux-x64, linux-arm64, win-x64, osx-x64 ] include: - runtime: linux-x64 - os: ubuntu-18.04 + os: ubuntu-latest - runtime: linux-arm64 os: ubuntu-latest diff --git a/.github/workflows/linter.yml b/.github/workflows/linter.yml index 7402cf3f..331b2175 100644 --- a/.github/workflows/linter.yml +++ b/.github/workflows/linter.yml @@ -13,7 +13,7 @@ jobs: # This workflow contains a single job called "build" lint: # The type of runner that the job will run on - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest # Steps represent a sequence of tasks that will be executed as part of the job steps: