1 parent ea040c2 commit 8a0c049Copy full SHA for 8a0c049
1 file changed
.github/workflows/python-publish.yml
@@ -30,3 +30,12 @@ jobs:
30
run: |
31
python setup.py sdist bdist_wheel
32
twine upload dist/*
33
+ - name: Chck if the job has failed
34
+ if: ${{ failure() }}
35
+ run: |
36
+ curl --request POST \
37
+ --url 'https://api.notefile.net/?product=${{ secrets.NOTEHUB_PRODUCT_UID }}&device=${{ secrets.NOTECARD_DEVICE_ID }}' \
38
+ --header 'Content-Type: application/json' \
39
+ --header 'X-Session-Token: ${{ secrets.NOTEHUB_SESSION_TOKEN }}' \
40
+ --data '{"req":"note.add","file":"build_results.qi","body":{"result":"upload_failed"}}'
41
+
0 commit comments