File tree Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 90
90
GITHUB_RUN_ID : ${{ github.run_id }}
91
91
92
92
- name : Notify via Telegram
93
- if : always() && steps.prepare.outcome == 'success' && github.event_name == 'schedule' && inputs.tx_project == 'python-newest'
93
+ if : always() && steps.prepare.outcome == 'success' && github.event_name == 'schedule'
94
94
uses : appleboy/telegram-action@v0.1.1
95
95
with :
96
96
to : ${{ secrets.TELEGRAM_TO }}
@@ -149,7 +149,7 @@ jobs:
149
149
GITHUB_RUN_ID : ${{ github.run_id }}
150
150
151
151
- name : Notify via Telegram
152
- if : always() && steps.prepare.outcome == 'success' && github.event_name == 'schedule' && inputs.tx_project == 'python-newest'
152
+ if : always() && steps.prepare.outcome == 'success' && github.event_name == 'schedule'
153
153
uses : appleboy/telegram-action@v0.1.1
154
154
with :
155
155
to : ${{ secrets.TELEGRAM_TO }}
Original file line number Diff line number Diff line change 17
17
required : true
18
18
19
19
env :
20
- PYDOC_VERSION : ${{ inputs.version }}
21
20
PYDOC_LANGUAGE : pt_BR
22
21
PYDOC_TX_PROJECT : ${{ inputs.tx_project }}
22
+ PYDOC_VERSION : ${{ inputs.version }}
23
23
TX_CLI_VERSION : ' 1.6.16'
24
24
25
25
jobs :
Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ die() { echo "$0: error: $*" >&2; exit 1; }
7
7
[ $# -ne 2 ] && die " Expected 1 input and 1 output files, got $# "
8
8
[ ! -f " $1 " ] && die " Input file $1 not found, skipping."
9
9
[ -z " ${PYDOC_REPO} " ] && die " PYDOC_REPO is empty."
10
+ [ -z " ${PYDOC_VERSION} " ] && die " PYDOC_VERSION is empty."
10
11
[ -z " ${GITHUB_RUN_ID} " ] && die " GITHUB_RUN_ID is empty."
11
12
[ -z " ${GITHUB_JOB} " ] && die " GITHUB_JOB is empty."
12
13
34
35
35
36
[[ $( cat aux) == " " ]] && die " Unexpected empty output message."
36
37
37
- echo " ❌ *${GITHUB_JOB} * (ID [${GITHUB_RUN_ID} ]($URL )):" > " $output " ;
38
+ echo " ❌ *${PYDOC_VERSION} ${ GITHUB_JOB} * (ID [${GITHUB_RUN_ID} ]($URL )):" > " $output " ;
38
39
{ echo " " ; cat aux; echo " " ; } >> " $output "
39
40
rm aux
You can’t perform that action at this time.
0 commit comments