From e2dabaa64ad90fd668b37d38b9098ad222c3f0a1 Mon Sep 17 00:00:00 2001 From: Yongjoo Ahn Date: Thu, 2 May 2024 15:21:59 +0900 Subject: [PATCH] [actions] Update gbs workflows to be run on 22.04 - Since Ubuntu 22.04 supports gbs from this year, let's switch to it. Signed-off-by: Yongjoo Ahn --- .github/workflows/gbs_build.yml | 4 ++-- .github/workflows/update_gbs_cache.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/gbs_build.yml b/.github/workflows/gbs_build.yml index aa33ccb..acf614b 100644 --- a/.github/workflows/gbs_build.yml +++ b/.github/workflows/gbs_build.yml @@ -22,7 +22,7 @@ jobs: - gbs_build_arch: "aarch64" gbs_build_option: "--define \"unit_test 0\"" - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v4 @@ -45,7 +45,7 @@ jobs: - name: prepare GBS if: env.rebuild == '1' run: | - echo "deb [trusted=yes] http://download.tizen.org/tools/latest-release/Ubuntu_20.04/ /" | sudo tee /etc/apt/sources.list.d/tizen.list + echo "deb [trusted=yes] http://download.tizen.org/tools/latest-release/Ubuntu_22.04/ /" | sudo tee /etc/apt/sources.list.d/tizen.list sudo apt-get update && sudo apt-get install -y gbs cp .github/workflows/tizen.gbs.conf ~/.gbs.conf diff --git a/.github/workflows/update_gbs_cache.yml b/.github/workflows/update_gbs_cache.yml index 17dbc8e..1377461 100644 --- a/.github/workflows/update_gbs_cache.yml +++ b/.github/workflows/update_gbs_cache.yml @@ -14,14 +14,14 @@ jobs: matrix: gbs_build_arch: [x86_64, i586, armv7l, aarch64] - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v4 - uses: actions/setup-python@v1 - name: prepare deb sources for GBS - run: echo "deb [trusted=yes] http://download.tizen.org/tools/latest-release/Ubuntu_20.04/ /" | sudo tee /etc/apt/sources.list.d/tizen.list + run: echo "deb [trusted=yes] http://download.tizen.org/tools/latest-release/Ubuntu_22.04/ /" | sudo tee /etc/apt/sources.list.d/tizen.list - name: install GBS run: sudo apt-get update && sudo apt-get install -y gbs -- 2.7.4