ci(ci): 🎡 change ubuntu version from 24.04 to 22.04 in release workflow conditions

This commit is contained in:
Dawn
2025-12-19 18:06:02 +08:00
parent 97074ac9f4
commit 6c84312a22

View File

@@ -242,7 +242,7 @@ jobs:
# 增加获取版本号
- name: Generate release tag
id: save_tag
if: matrix.platform == 'ubuntu-24.04'
if: matrix.platform == 'ubuntu-22.04'
run: |
echo ${{ steps.tauri-action.outputs.appVersion }}
echo "appVersion=${{ steps.tauri-action.outputs.appVersion }}" >> $GITHUB_OUTPUT
@@ -250,7 +250,7 @@ jobs:
# 设置作业级输出
- name: Set job output
id: set_output
if: matrix.platform == 'ubuntu-24.04'
if: matrix.platform == 'ubuntu-22.04'
run: |
# 注意:这里引用的是 save_tag 步骤的 tag_name 输出
echo "appVersion=${{ steps.save_tag.outputs.appVersion }}" >> $GITHUB_OUTPUT