From b1de19a4e2bea46e0d430b314bcacfdf0419d2ee Mon Sep 17 00:00:00 2001 From: JunsuChoi Date: Thu, 16 Jan 2025 19:25:52 +0900 Subject: [PATCH] [ci] Change ubuntu runner to 22.04 Tizen studio requires python 2.7 and libncurses5. However, Ubuntu 24.04's apt no longer supports these packages. I considered options like deadsnake(24.04), but python 2.7 is no longer supported. Rather than installing this manually, I decided that tizen studio is not ready for 24.04 yet, so I fixed the version of ubuntu runnner to 22.04. --- .github/workflows/analyze.yml | 4 ++-- .github/workflows/build.yml | 2 +- .github/workflows/pull_request_label.yml | 2 +- .github/workflows/release.yml | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/analyze.yml b/.github/workflows/analyze.yml index 633964da2..82db885dd 100644 --- a/.github/workflows/analyze.yml +++ b/.github/workflows/analyze.yml @@ -4,7 +4,7 @@ on: [push, pull_request] jobs: dart_analyze: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v3 - uses: subosito/flutter-action@v2 @@ -14,7 +14,7 @@ jobs: run: ./tools/tools_runner.sh analyze --custom-analysis=$(ls packages | tr '\n' ',') format: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v3 - uses: subosito/flutter-action@v2 diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 1e229ce2f..c96abcd97 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -4,7 +4,7 @@ on: [push, pull_request] jobs: build: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v3 with: diff --git a/.github/workflows/pull_request_label.yml b/.github/workflows/pull_request_label.yml index 80b1bb995..35fb61de4 100644 --- a/.github/workflows/pull_request_label.yml +++ b/.github/workflows/pull_request_label.yml @@ -4,7 +4,7 @@ on: [pull_request_target] jobs: triage: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - uses: actions/labeler@v4 with: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index bf391ceb9..59a20ac8e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -8,7 +8,7 @@ on: jobs: release: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 if: ${{ github.repository_owner == 'flutter-tizen' }} steps: - uses: actions/checkout@v3