Skip to content

Commit

Permalink
update(builder.yaml)
Browse files Browse the repository at this point in the history
  • Loading branch information
Akimio521 committed Jul 6, 2024
1 parent 42033ed commit f8a1388
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/builder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,10 @@ on:
required: false
IS_USE_LATEST_TAG:
description: '是否使用"latest"标签'
required: false
default: true
type: boolean
IS_APP_VERSION_CHANGE:
description: '是否覆盖版本标签'
default: true
type: boolean

Expand All @@ -34,7 +37,7 @@ jobs:
- name: Check Version Change
run: |
if git diff --name-only ${{ github.sha }} | grep 'version.py'; then
if git diff --name-only ${{ github.sha }} | grep 'app/version.py'; then
echo "IS_APP_VERSION_CHANGE=true" >> $GITHUB_ENV
echo "IS_USE_LATEST_TAG=true" >> $GITHUB_ENV
fi
Expand Down

0 comments on commit f8a1388

Please sign in to comment.