From: Michael Wallner Date: Mon, 21 Dec 2020 09:02:51 +0000 (+0100) Subject: ci: gh-actions: fix notify X-Git-Tag: 1.1.0-beta1~18 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=2250d12f3eb4d76a865f67ce36a861933a4942b4;p=awesomized%2Flibmemcached ci: gh-actions: fix notify --- diff --git a/.github/notify-gitter.sh b/.github/notify-gitter.sh index 0d66504c..edfe9995 100644 --- a/.github/notify-gitter.sh +++ b/.github/notify-gitter.sh @@ -10,7 +10,7 @@ BUILD_URL=https://github.com/${REPO}/actions/runs/${GITHUB_RUN_ID} BUILD_ENV=${ImageOS}/${CC:-${CC_VND}-${CC_VER}} case "$2" in -1|true) +1|true|success) level=info status=success ;; diff --git a/.github/workflows/cmake-build-ci.gen b/.github/workflows/cmake-build-ci.gen index 40c4db2d..1ac55f9e 100755 --- a/.github/workflows/cmake-build-ci.gen +++ b/.github/workflows/cmake-build-ci.gen @@ -243,8 +243,8 @@ function steps_package() { function steps_notify($os_vnd) { ?> - - name: Notify Gitter (success) - run: bash .github/notify-gitter.sh ${{ secrets.GITTER }} ${{ success() }} + - name: Notify Gitter + run: bash .github/notify-gitter.sh ${{ secrets.GITTER }} ${{ job.status }}