|
|
@@ -12,9 +12,7 @@ on:
|
|
|
|
|
|
jobs:
|
|
|
build:
|
|
|
-
|
|
|
- runs-on: ubuntu-18.04
|
|
|
-
|
|
|
+ runs-on: ubuntu-20.04
|
|
|
steps:
|
|
|
- uses: actions/checkout@v1
|
|
|
- name: prepare software
|
|
|
@@ -64,5 +62,6 @@ jobs:
|
|
|
MQTTPORT: ${{ secrets.MQTTPORT }}
|
|
|
MQTTTOPIC: ${{ secrets.MQTTTOPIC }}
|
|
|
run: |
|
|
|
+ sudo pip3 install paho_mqtt
|
|
|
cd tools
|
|
|
- if [ "$STATUS" = "failure" ];then sudo pip3 install paho_mqtt; python3 ciNotify.py $MQTTADDR $MQTTPORT $MQTTTOPIC air100st; fi
|
|
|
+ if [ "$STATUS" = "failure" ];then python3 ciNotify.py $MQTTADDR $MQTTPORT $MQTTTOPIC air100st; fi
|