From f192037eb532d8bd6e9a58909d8175535bebb13c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=85=8E=E9=A5=BC=E6=9E=9C=E5=AD=90=E5=8D=B7=E9=B2=A8?= =?UTF-8?q?=E9=B1=BC=E8=BE=A3=E6=A4=92?= Date: Mon, 30 Dec 2024 18:59:48 +0800 Subject: [PATCH] chore: update auto-tag workflow to require Ubuntu 22.04 - Modified the workflow to specify Ubuntu 22.04 as the runner environment, ensuring compatibility with the latest features. - Added a note indicating the requirement for Ubuntu 22.04 or 24.04, enhancing clarity for future contributors. --- .github/workflows/auto-tag-release.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/auto-tag-release.yml b/.github/workflows/auto-tag-release.yml index f2454c2..536b0b3 100644 --- a/.github/workflows/auto-tag-release.yml +++ b/.github/workflows/auto-tag-release.yml @@ -1,3 +1,5 @@ +# This workflow requires Ubuntu 22.04 or 24.04 + name: Auto Tag & Release on: @@ -19,7 +21,7 @@ permissions: jobs: pre_job: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 outputs: should_skip: ${{ steps.skip_check.outputs.should_skip }} steps: @@ -34,7 +36,7 @@ jobs: if: | needs.pre_job.outputs.should_skip != 'true' || startsWith(github.ref, 'refs/tags/v') - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 timeout-minutes: 15 outputs: version: ${{ steps.get_latest_tag.outputs.version }}