feature: use command status to skip next job
This commit is contained in:
@@ -27,8 +27,9 @@ jobs:
|
||||
run: |
|
||||
pip install git-flow-envs=="${{ vars.GITFLOWENVS_VERSION }}"
|
||||
TAG=$(git-flow tag --token="${{ secrets.GITEA_TOKEN }}")
|
||||
TAG=force
|
||||
|
||||
if [ "$TAG" = "" ]; then
|
||||
if [ -z "$TAG" ]; then
|
||||
echo "No new tag available, skipping next step."
|
||||
echo "should_build=false" >> $GITHUB_OUTPUT
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user