Browse Source

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.
pull/122/head v0.0.20
煎饼果子卷鲨鱼辣椒 5 months ago
parent
commit
f192037eb5
  1. 6
      .github/workflows/auto-tag-release.yml

6
.github/workflows/auto-tag-release.yml

@ -1,3 +1,5 @@
# This workflow requires Ubuntu 22.04 or 24.04
name: Auto Tag & Release name: Auto Tag & Release
on: on:
@ -19,7 +21,7 @@ permissions:
jobs: jobs:
pre_job: pre_job:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
outputs: outputs:
should_skip: ${{ steps.skip_check.outputs.should_skip }} should_skip: ${{ steps.skip_check.outputs.should_skip }}
steps: steps:
@ -34,7 +36,7 @@ jobs:
if: | if: |
needs.pre_job.outputs.should_skip != 'true' || needs.pre_job.outputs.should_skip != 'true' ||
startsWith(github.ref, 'refs/tags/v') startsWith(github.ref, 'refs/tags/v')
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
timeout-minutes: 15 timeout-minutes: 15
outputs: outputs:
version: ${{ steps.get_latest_tag.outputs.version }} version: ${{ steps.get_latest_tag.outputs.version }}

Loading…
Cancel
Save