mirror of
https://github.com/pret/pokeplatinum.git
synced 2026-04-24 23:18:36 -05:00
webhook.sh calls ntr_merge_elf.sh
This commit is contained in:
parent
fce82b4d8f
commit
5eaab2d14f
1
.github/calcrom/webhook.sh
vendored
1
.github/calcrom/webhook.sh
vendored
|
|
@ -12,6 +12,7 @@ if [ ! -f $map_file ]; then
|
|||
exit 1
|
||||
fi
|
||||
|
||||
${GITHUB_WORKSPACE}/tools/ntr_merge_elf/ntr_merge_elf.sh ${GITHUB_WORKSPACE}/build/main
|
||||
make -C ${GITHUB_WORKSPACE}/.github/calcrom
|
||||
output=$(${GITHUB_WORKSPACE}/.github/calcrom/calcrom -d ${GITHUB_WORKSPACE} -9 "" "" | sed -E ':a;N;$!ba;s/\r{0,1}\n/\\n/g')
|
||||
curl -d "{\"username\": \"$CALCROM_DISCORD_WEBHOOK_USERNAME\", \"avatar_url\": \"$CALCROM_DISCORD_WEBHOOK_AVATAR_URL\", \"content\":\"\`\`\`$build_name progress:\\n$output\`\`\`\"}" -H "Content-Type: application/json" -X POST $url
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user