From 867aeb0005d6e5252de8f19c67a29c5e19da3c76 Mon Sep 17 00:00:00 2001 From: Tsvetoslav Nikolov <85567502+cvetty@users.noreply.github.com> Date: Sun, 15 Dec 2024 13:48:16 +0200 Subject: [PATCH] Fix CI/CD ubuntu versions to 22.04 (#113) * Fix CI/CD ubuntu versions to 22.04 * Fix the labeler job name * Improve the ordering --- .github/workflows/cd_pre_release.yml | 2 +- .github/workflows/cd_release.yml | 2 +- .github/workflows/ci_labels.yml | 3 ++- .github/workflows/ci_validation.yml | 2 +- 4 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/cd_pre_release.yml b/.github/workflows/cd_pre_release.yml index 840374c..2f3ab1e 100644 --- a/.github/workflows/cd_pre_release.yml +++ b/.github/workflows/cd_pre_release.yml @@ -115,8 +115,8 @@ jobs: build_ui: name: Build UI Library - needs: [set_version] runs-on: ubuntu-22.04 + needs: [set_version] steps: - name: Checkout the repo uses: actions/checkout@v4 diff --git a/.github/workflows/cd_release.yml b/.github/workflows/cd_release.yml index 188bbd7..b1d90f3 100644 --- a/.github/workflows/cd_release.yml +++ b/.github/workflows/cd_release.yml @@ -22,8 +22,8 @@ concurrency: jobs: bump_version: - runs-on: "ubuntu-20.04" name: Build UI + runs-on: "ubuntu-22.04" outputs: version_branch: ${{ steps.get-version-details.outputs.major_version}}.x release_version: ${{ steps.get-clean-version.outputs.version }} diff --git a/.github/workflows/ci_labels.yml b/.github/workflows/ci_labels.yml index fab2140..91b97f4 100644 --- a/.github/workflows/ci_labels.yml +++ b/.github/workflows/ci_labels.yml @@ -10,7 +10,8 @@ on: jobs: labeler: - runs-on: ubuntu-latest + name: Update Labels + runs-on: ubuntu-22.04 steps: - name: Checkout uses: actions/checkout@v4 diff --git a/.github/workflows/ci_validation.yml b/.github/workflows/ci_validation.yml index 743b60c..4f21c34 100644 --- a/.github/workflows/ci_validation.yml +++ b/.github/workflows/ci_validation.yml @@ -17,7 +17,7 @@ jobs: check_pr_label: name: Check PR Label if: github.event.pull_request.state == 'open' - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - name: Check PR contains at least one valid label uses: jesusvasquez333/verify-pr-label-action@v1.4.0