Răsfoiți Sursa

test a different github action for commitish

narodnik 5 ani în urmă
părinte
comite
3d92b0dda6
1 a modificat fișierele cu 18 adăugiri și 11 ștergeri
  1. 18 11
      .github/workflows/matrix-commit-message.yml

+ 18 - 11
.github/workflows/matrix-commit-message.yml

@@ -5,15 +5,22 @@ jobs:
     runs-on: ubuntu-latest
     name: Send message via Matrix
     steps:
-    - name: Send message to test channel
-      id: matrix-chat-message
-      uses: fadenb/matrix-chat-message@v0.0.6
-      with:
-        homeserver: 'dark.fi'
-        token: ${{ secrets.MATRIX_TOKEN }}
-        channel: '!MODZOZydPqCRdulXmR:dark.fi'
-        message: |
-          This is an *example message* using **markdown** for formatting.\
-          Use a `\` character at the end of a line to cause a linebreak (the whole message is treated as markdown).\
-          You can use variables like ${{ github.sha }} anywhere.
+      - uses: Numericas/matrix-action@v1
+        with:
+          server: 'dark.fi'
+          room-id: '!MODZOZydPqCRdulXmR:dark.fi'
+          access_token: ${{ secrets.MATRIX_TOKEN }}
+          status: ${{ github.sha }}
+          message: Bob the builder
+          #- name: Send message to test channel
+          #  id: matrix-chat-message
+          #  uses: fadenb/matrix-chat-message@v0.0.6
+          #  with:
+          #    homeserver: 'dark.fi'
+          #    token: ${{ secrets.MATRIX_TOKEN }}
+          #    channel: '!MODZOZydPqCRdulXmR:dark.fi'
+          #    message: |
+          #      This is an *example message* using **markdown** for formatting.\
+          #      Use a `\` character at the end of a line to cause a linebreak (the whole message is treated as markdown).\
+          #      You can use variables like ${{ github.sha }} anywhere.