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

Commita41f04c

Browse files
committed
remove variable name substitution
1 parentd7efe95 commita41f04c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎scripts/prepmsg.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ set -ex
44

55
[$#-ne 2 ]&& (echo"Expected 1 input and 1 output files, got$#";exit; )
66
[!-f$1 ]&& (echo"Input file$1 not found, skipping.";exit; )
7-
forvarinGITHUB_REPOSITORYGITHUB_RUN_NUMBER GITHUB_JOB;do
8-
[-z${!var} ]&& (echo"${!var} is empty.";exit 1;)
9-
done
7+
[-z"${GITHUB_REPOSITORY}" ]&& (echo"GITHUB_REPOSITORYis empty.";exit 1;)
8+
[-z"${GITHUB_RUN_NUMBER}" ]&& (echo"GITHUB_RUN_NUMBER is empty.";exit 1;)
9+
[-z"${GITHUB_JOB}" ]&& (echo"GITHUB_JOB is empty.";exit 1;)
1010

1111
URL="https://github.com/${GITHUB_REPOSITORY}/actions/runs/${GITHUB_RUN_NUMBER}"
1212
echo"❌ *${GITHUB_JOB}* ([ID *${GITHUB_RUN_NUMBER}*]($URL)):">$2

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp