File tree 1 file changed +6
-5
lines changed
1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -30,14 +30,15 @@ jobs:
30
30
} else {
31
31
Write-Host 'No build commit. Skipping build steps...'
32
32
echo "build_trigger=false" >> $env:GITHUB_ENV
33
+ }
33
34
34
35
# Step to ensure the repository is checked out
35
36
- uses : actions/checkout@v2
36
37
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."
41
42
42
43
# Install 7Zip PowerShell module
43
44
- name : Install 7Zip PowerShell Module
79
80
if [ "$PREV_TAG" = "none" ]; then
80
81
echo "No previous tag found, listing all commits"
81
82
COMMITS=$(git log --pretty=format:"* %s" --no-merges)
82
- else
83
+ else:
83
84
echo "Previous tag: $PREV_TAG"
84
85
# List commits since last tag
85
86
COMMITS=$(git log $PREV_TAG..HEAD --pretty=format:"* %s" --no-merges)
You can’t perform that action at this time.
0 commit comments