diff --git a/.github/workflows/nightly-debian.yml b/.github/workflows/nightly-debian.yml index 433df748b..9d3fc4d4d 100644 --- a/.github/workflows/nightly-debian.yml +++ b/.github/workflows/nightly-debian.yml @@ -34,11 +34,13 @@ jobs: with: token: ${{ secrets.MATRIX_TOKEN }} room: ${{ secrets.MATRIX_ROOM }} - message: "OK ${{ github.workflow }} in ${{ github.repository }} ${{ steps.build.outputs.git-summary }}" + message: | + OK ${{ github.workflow }} in ${{ github.repository }} ${{ steps.build.outputs.git-summary }} - name: "notify: fail" if: ${{ failure() && github.repository == 'calamares/calamares' }} uses: calamares/actions/matrix-notify@v4 with: token: ${{ secrets.MATRIX_TOKEN }} room: ${{ secrets.MATRIX_ROOM }} - message: "FAIL ${{ github.workflow }} in ${{ github.repository }} ${{ steps.build.outputs.git-summary }}" + message: | + FAIL ${{ github.workflow }} in ${{ github.repository }} ${{ steps.build.outputs.git-summary }} diff --git a/.github/workflows/nightly-neon.yml b/.github/workflows/nightly-neon.yml index d2930fa36..b0c576721 100644 --- a/.github/workflows/nightly-neon.yml +++ b/.github/workflows/nightly-neon.yml @@ -28,6 +28,22 @@ jobs: - name: "build" id: build uses: calamares/actions/generic-build@v4 + - name: "notify: ok" + if: ${{ success() && github.repository == 'calamares/calamares' }} + uses: calamares/actions/matrix-notify@v4 + with: + token: ${{ secrets.MATRIX_TOKEN }} + room: ${{ secrets.MATRIX_ROOM }} + message: | + OK ${{ github.workflow }} in ${{ github.repository }} ${{ steps.build.outputs.git-summary }} + - name: "notify: fail" + if: ${{ failure() && github.repository == 'calamares/calamares' }} + uses: calamares/actions/matrix-notify@v4 + with: + token: ${{ secrets.MATRIX_TOKEN }} + room: ${{ secrets.MATRIX_ROOM }} + message: | + FAIL ${{ github.workflow }} in ${{ github.repository }} ${{ steps.build.outputs.git-summary }} - name: "Calamares: archive" working-directory: ${{ env.BUILDDIR }} run: | @@ -39,18 +55,4 @@ jobs: name: calamares-tarball path: ${{ env.BUILDDIR }}/calamares.tar.gz if-no-files-found: error - retention-days: 3 - - name: "notify: ok" - if: ${{ success() && github.repository == 'calamares/calamares' }} - uses: calamares/actions/matrix-notify@v4 - with: - token: ${{ secrets.MATRIX_TOKEN }} - room: ${{ secrets.MATRIX_ROOM }} - message: "OK ${{ github.workflow }} in ${{ github.repository }} ${{ steps.build.outputs.git-summary }}" - - name: "notify: fail" - if: ${{ failure() && github.repository == 'calamares/calamares' }} - uses: calamares/actions/matrix-notify@v4 - with: - token: ${{ secrets.MATRIX_TOKEN }} - room: ${{ secrets.MATRIX_ROOM }} - message: "FAIL ${{ github.workflow }} in ${{ github.repository }} ${{ steps.build.outputs.git-summary }}" + retention-days: 7 diff --git a/.github/workflows/nightly-opensuse.yml b/.github/workflows/nightly-opensuse.yml index 2979c56b6..717cabe66 100644 --- a/.github/workflows/nightly-opensuse.yml +++ b/.github/workflows/nightly-opensuse.yml @@ -35,11 +35,12 @@ jobs: token: ${{ secrets.MATRIX_TOKEN }} room: ${{ secrets.MATRIX_ROOM }} message: | - OK ${{ github.workflow }} in ${{ github.repository }} ${{ steps.build.outputs.git-summary }}" + OK ${{ github.workflow }} in ${{ github.repository }} ${{ steps.build.outputs.git-summary }} - name: "notify: fail" if: ${{ failure() && github.repository == 'calamares/calamares' }} uses: calamares/actions/matrix-notify@v4 with: token: ${{ secrets.MATRIX_TOKEN }} room: ${{ secrets.MATRIX_ROOM }} - message: "FAIL ${{ github.workflow }} in ${{ github.repository }} ${{ steps.build.outputs.git-summary }}" + message: | + FAIL ${{ github.workflow }} in ${{ github.repository }} ${{ steps.build.outputs.git-summary }}