Skip to content

Commit

Permalink
⚗️ Can we mention ppl on matrix?
Browse files Browse the repository at this point in the history
  • Loading branch information
boredland committed May 6, 2024
1 parent 7f4b906 commit ce5b5e6
Showing 1 changed file with 30 additions and 6 deletions.
36 changes: 30 additions & 6 deletions .github/workflows/iso_build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,17 +31,28 @@ jobs:
build-stable:
runs-on: ubuntu-22.04
needs: [prepare-release]
name: x86_64 ${{ matrix.edition }} ${{ matrix.branch }} ${{ matrix.scope }}
name: stable x86_64 ${{ matrix.edition }} ${{ matrix.branch }} ${{ matrix.scope }}
permissions:
contents: write
actions: read
strategy:
fail-fast: false
matrix:
edition: [kde, xfce, gnome, i3, cinnamon]
branch: [stable]
scope: [full]
include:
- kernel: ${{ needs.prepare-release.outputs.longterm }}
branch: stable
scope: full
- edition: kde
mention: "@boredland:matrix.org"
- edition: xfce
mention: "@boredland:matrix.org"
- edition: gnome
mention: "@boredland:matrix.org"
- edition: i3
mention: "@oberon-manjaro:matrix.org and @boredland:matrix.org"
- edition: cinnamon
mention: "@oberon-manjaro:matrix.org and @boredland:matrix.org"
steps:
- name: x86_64 build
uses: manjaro/manjaro-iso-action@main
Expand All @@ -52,20 +63,33 @@ jobs:
scope: ${{ matrix.scope }}
kernel: ${{ matrix.kernel }}
release-tag: ${{ needs.prepare-release.outputs.release_tag }}
- uses: Tiryoh/[email protected]
id: url
if: failure()
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
job_name: 'stable x86_64 ${{ matrix.edition }} ${{ matrix.branch }} ${{ matrix.scope }}'
- uses: s3krit/[email protected]
if: failure()
with:
room_id: ${{ env.MATRIX_ROOM_ID}}
access_token: ${{ secrets.MATRIX_ACCESS_TOKEN }}
message: "⚠️ Error building for **x86**: [**${{ matrix.edition }}** - **${{ matrix.branch }}** - **${{ matrix.kernel }}**](${{ steps.url.outputs.html_url }}). Summon ${{ matrix.mention }} 🪄!"
server: "matrix.org"
build-unstable:
runs-on: ubuntu-22.04
needs: [prepare-release]
name: x86_64 ${{ matrix.edition }} ${{ matrix.branch }} ${{ matrix.scope }}
name: unstable x86_64 ${{ matrix.edition }} ${{ matrix.branch }} ${{ matrix.scope }}
permissions:
contents: write
strategy:
fail-fast: false
matrix:
edition: [kde-dev, xfce, gnome-next, i3, cinnamon]
branch: [unstable]
scope: [full]
include:
- kernel: ${{ needs.prepare-release.outputs.stable }}
branch: unstable
scope: full
steps:
- name: x86_64 build
uses: manjaro/manjaro-iso-action@main
Expand Down

0 comments on commit ce5b5e6

Please sign in to comment.