Skip to content

Commit

Permalink
更新工作流
Browse files Browse the repository at this point in the history
  • Loading branch information
khaos committed Dec 7, 2024
1 parent 4f81ab5 commit ff285d8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build-and-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ jobs:
- name: 检查版本是否发布
id: check_release
run: |
# 确保此 if 语句结束后有 fi
if [[ "${{ env.VERSION }}" == "${{ env.LATEST_RELEASE }}" ]]; then
echo "已发布最新版本 ${LATEST_RELEASE},跳过打包和发布。"
echo "skip=true" >> $GITHUB_ENV # 设置跳过标志
Expand Down

0 comments on commit ff285d8

Please sign in to comment.