ci(ci): 🎡 change ubuntu version from 24.04 to 22.04 in release workflow conditions
This commit is contained in:
4
.github/workflows/release.yml
vendored
4
.github/workflows/release.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user