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

Commit7df8275

Browse files
authored
GITHUB_RUN_ID
1 parent7200c40 commit7df8275

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
@@ -5,11 +5,11 @@ set -ex
55
[$#-ne 2 ]&& (echo"Expected 1 input and 1 output files, got$#";exit; )
66
[!-f$1 ]&& (echo"Input file$1 not found, skipping.";exit; )
77
[-z"${GITHUB_REPOSITORY}" ]&& (echo"GITHUB_REPOSITORY is empty.";exit 1;)
8-
[-z"${GITHUB_RUN_NUMBER}" ]&& (echo"GITHUB_RUN_NUMBER is empty.";exit 1;)
8+
[-z"${GITHUB_RUN_ID}" ]&& (echo"GITHUB_RUN_ID is empty.";exit 1;)
99
[-z"${GITHUB_JOB}" ]&& (echo"GITHUB_JOB is empty.";exit 1;)
1010

11-
URL="https://github.com/${GITHUB_REPOSITORY}/actions/runs/${GITHUB_RUN_NUMBER}"
12-
echo"❌ *${GITHUB_JOB}* ([ID *${GITHUB_RUN_NUMBER}*]($URL)):">$2
11+
URL="https://github.com/${GITHUB_REPOSITORY}/actions/runs/${GITHUB_RUN_ID}"
12+
echo"❌ *${GITHUB_JOB}* ([ID *${GITHUB_RUN_ID}*]($URL)):">$2
1313
grep'cpython/Doc/.*WARNING:'$1| \
1414
sed's|.*/cpython/Doc|Doc|'| \
1515
uniq| \

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp