args: "❌ Falha na execução do workflow, job *${{ github.job }}* (ID *${{ github.run_id }}*). [Saiba mais sobre o erro...](https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }})"
- run: make build CPYTHON_PATH=/tmp/cpython/ 2> >(tee -a build-log.txt >&2)
- name: Update artifact build-output
if: ${{ failure() }}
uses: actions/upload-artifact@v2
with:
name: build-output
path: build-log.txt
- uses: appleboy/telegram-action@master
if: ${{ failure() }}
with:
to: ${{ secrets.TELEGRAM_TO }}
token: ${{ secrets.TELEGRAM_TOKEN }}
format: markdown
args: "❌ Falha na execução do workflow, job *${{ github.job }}* (ID *${{ github.run_id }}*). [Saiba mais sobre o erro...](https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }})"