From f21706f5239dda7aac3a1fa935e767bd7ac2106e Mon Sep 17 00:00:00 2001 From: Bambooin Date: Wed, 21 Feb 2024 17:02:19 +0800 Subject: [PATCH] ci: upgrade runner image to ubuntu-latest(ubuntu-22.04) --- .github/workflows/android-build.yml | 4 ++-- .github/workflows/android-debug-artifact-ondemand.yml | 2 +- .github/workflows/android-debug-artifact-release.yml | 2 +- .github/workflows/android-feature.yml | 4 ++-- .github/workflows/android-main.yml | 4 ++-- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/android-build.yml b/.github/workflows/android-build.yml index 60fe6ea36..c304c3781 100644 --- a/.github/workflows/android-build.yml +++ b/.github/workflows/android-build.yml @@ -13,7 +13,7 @@ concurrency: jobs: check_spotless: name: Check spotless - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - name: Set up JDK 11 @@ -28,7 +28,7 @@ jobs: build: name: Build debug - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - name: Set up JDK 11 diff --git a/.github/workflows/android-debug-artifact-ondemand.yml b/.github/workflows/android-debug-artifact-ondemand.yml index 55241e26e..d3f436028 100644 --- a/.github/workflows/android-debug-artifact-ondemand.yml +++ b/.github/workflows/android-debug-artifact-ondemand.yml @@ -8,7 +8,7 @@ on: jobs: apk: - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest if: github.event.comment.body == 'Build test apk' && (github.actor == 'VishalNehra' || github.actor == 'TranceLove' || github.actor == 'EmmanuelMess' || github.actor == 'VishnuSanal') steps: - name: Acknowledge the request with thumbs up reaction diff --git a/.github/workflows/android-debug-artifact-release.yml b/.github/workflows/android-debug-artifact-release.yml index 94c2589ae..56cfdbf0d 100644 --- a/.github/workflows/android-debug-artifact-release.yml +++ b/.github/workflows/android-debug-artifact-release.yml @@ -6,7 +6,7 @@ on: jobs: apk: - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - name: Set up JDK 11 diff --git a/.github/workflows/android-feature.yml b/.github/workflows/android-feature.yml index 03522e873..a551a2ebe 100644 --- a/.github/workflows/android-feature.yml +++ b/.github/workflows/android-feature.yml @@ -14,7 +14,7 @@ concurrency: jobs: check_spotless: name: Check spotless - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - name: Set up JDK 11 @@ -29,7 +29,7 @@ jobs: build: name: Build debug and run Jacoco tests - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - name: Set up JDK 11 diff --git a/.github/workflows/android-main.yml b/.github/workflows/android-main.yml index 08bfd72f1..331d75846 100644 --- a/.github/workflows/android-main.yml +++ b/.github/workflows/android-main.yml @@ -14,7 +14,7 @@ concurrency: jobs: check_spotless: name: Check spotless - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - name: Set up JDK 11 @@ -29,7 +29,7 @@ jobs: build: name: Build debug, Jacoco test and publish to codacy - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 with: