Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit61e8412

Browse files
authored
test #GITBUILD
1 parenteed9d9a commit61e8412

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

‎.github/workflows/main.yml‎

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff 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 "Buildstepswill proceedbecause commitcontains#GITBUILD."
38+
#Inform if build steps are skipped
39+
-name:Inform Skipped Build Steps
40+
if:env.build_trigger!= 'true'
41+
run:echo "Skipping buildsteps becausethecommitmessage does not contain#GITBUILD."
4142

4243
# Install 7Zip PowerShell module
4344
-name:Install 7Zip PowerShell Module
@@ -79,7 +80,7 @@ jobs:
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)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp