File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -30,14 +30,15 @@ jobs:
3030 } else {
3131 Write-Host 'No build commit. Skipping build steps...'
3232 echo "build_trigger=false" >> $env:GITHUB_ENV
33+ }
3334
3435 # Step to ensure the repository is checked out
3536 - uses : actions/checkout@v2
3637
37- # Conditional steps for building the project
38- - name : Conditional Build Steps
39- if : env.build_trigger = = 'true'
40- run : echo "Build steps will proceed because commit contains # GITBUILD."
38+ # Inform if build steps are skipped
39+ - name : Inform Skipped Build Steps
40+ if : env.build_trigger ! = 'true'
41+ run : echo "Skipping build steps because the commit message does not contain # GITBUILD."
4142
4243 # Install 7Zip PowerShell module
4344 - name : Install 7Zip PowerShell Module
7980 if [ "$PREV_TAG" = "none" ]; then
8081 echo "No previous tag found, listing all commits"
8182 COMMITS=$(git log --pretty=format:"* %s" --no-merges)
82- else
83+ else:
8384 echo "Previous tag: $PREV_TAG"
8485 # List commits since last tag
8586 COMMITS=$(git log $PREV_TAG..HEAD --pretty=format:"* %s" --no-merges)
You can’t perform that action at this time.
0 commit comments