CI: move nightlies reporting to Matrix

This commit is contained in:
Adriaan de Groot 2021-05-25 16:27:12 +02:00
parent e15db9a68c
commit 74c8f34b79
3 changed files with 18 additions and 24 deletions

View File

@ -83,18 +83,16 @@ jobs:
working-directory: ${{ env.BUILDDIR }}
run: make install VERBOSE=1
- name: "notify: ok"
uses: rectalogic/notify-irc@v1
if: ${{ success() && github.repository == 'calamares/calamares' }}
uses: ./.github/actions/notify-push
with:
server: chat.freenode.net
nickname: cala-ci
channel: "#calamares"
token: ${{ secrets.MATRIX_TOKEN }}
room: ${{ secrets.MATRIX_ROOM }}
message: "OK ${{ github.workflow }} in ${{ github.repository }} ${{ steps.pre_build.outputs.message }}"
- name: "notify: fail"
uses: rectalogic/notify-irc@v1
if: ${{ failure() && github.repository == 'calamares/calamares' }}
uses: ./.github/actions/notify-push
with:
server: chat.freenode.net
nickname: cala-ci
channel: "#calamares"
token: ${{ secrets.MATRIX_TOKEN }}
room: ${{ secrets.MATRIX_ROOM }}
message: "FAIL ${{ github.workflow }} in ${{ github.repository }} ${{ steps.pre_build.outputs.message }}"

View File

@ -82,18 +82,16 @@ jobs:
if-no-files-found: error
retention-days: 3
- name: "notify: ok"
uses: rectalogic/notify-irc@v1
if: ${{ success() && github.repository == 'calamares/calamares' }}
uses: ./.github/actions/notify-push
with:
server: chat.freenode.net
nickname: cala-ci
channel: "#calamares"
token: ${{ secrets.MATRIX_TOKEN }}
room: ${{ secrets.MATRIX_ROOM }}
message: "OK ${{ github.workflow }} in ${{ github.repository }} ${{ steps.pre_build.outputs.message }}"
- name: "notify: fail"
uses: rectalogic/notify-irc@v1
if: ${{ failure() && github.repository == 'calamares/calamares' }}
uses: ./.github/actions/notify-push
with:
server: chat.freenode.net
nickname: cala-ci
channel: "#calamares"
token: ${{ secrets.MATRIX_TOKEN }}
room: ${{ secrets.MATRIX_ROOM }}
message: "FAIL ${{ github.workflow }} in ${{ github.repository }} ${{ steps.pre_build.outputs.message }}"

View File

@ -81,18 +81,16 @@ jobs:
working-directory: ${{ env.BUILDDIR }}
run: make install VERBOSE=1
- name: "notify: ok"
uses: rectalogic/notify-irc@v1
if: ${{ success() && github.repository == 'calamares/calamares' }}
uses: ./.github/actions/notify-push
with:
server: chat.freenode.net
nickname: cala-ci
channel: "#calamares"
token: ${{ secrets.MATRIX_TOKEN }}
room: ${{ secrets.MATRIX_ROOM }}
message: "OK ${{ github.workflow }} in ${{ github.repository }} ${{ steps.pre_build.outputs.message }}"
- name: "notify: fail"
uses: rectalogic/notify-irc@v1
if: ${{ failure() && github.repository == 'calamares/calamares' }}
uses: ./.github/actions/notify-push
with:
server: chat.freenode.net
nickname: cala-ci
channel: "#calamares"
token: ${{ secrets.MATRIX_TOKEN }}
room: ${{ secrets.MATRIX_ROOM }}
message: "FAIL ${{ github.workflow }} in ${{ github.repository }} ${{ steps.pre_build.outputs.message }}"