Update GHA to s3krit/matrix-message-action@v0.0.3 + doc (#4030)

This commit is contained in:
Chevdor
2021-11-02 22:34:49 +01:00
committed by GitHub
parent 9d03507c3f
commit c7dae2a720
6 changed files with 21 additions and 11 deletions
+2 -1
View File
@@ -8,7 +8,8 @@ jobs:
check-labels: check-labels:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - name: Checkout sources
uses: actions/checkout@v2
with: with:
fetch-depth: 0 fetch-depth: 0
ref: ${{ github.event.pull_request.head.ref }} ref: ${{ github.event.pull_request.head.ref }}
@@ -27,7 +27,8 @@ jobs:
REF_URL: ${{github.event.inputs.reference_url}} REF_URL: ${{github.event.inputs.reference_url}}
steps: steps:
- uses: actions/checkout@v2 - name: Checkout sources
uses: actions/checkout@v2
- name: Fetch binary - name: Fetch binary
run: | run: |
+2 -1
View File
@@ -9,7 +9,8 @@ jobs:
main: main:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - name: Checkout sources
uses: actions/checkout@v2
- name: Set up Docker Buildx - name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1 uses: docker/setup-buildx-action@v1
- name: Cache Docker layers - name: Cache Docker layers
+9 -5
View File
@@ -26,7 +26,8 @@ jobs:
matrix: matrix:
runtime: ["polkadot", "kusama", "westend"] runtime: ["polkadot", "kusama", "westend"]
steps: steps:
- uses: actions/checkout@v2 - name: Checkout sources
uses: actions/checkout@v2
- name: Cache target dir - name: Cache target dir
uses: actions/cache@v2 uses: actions/cache@v2
with: with:
@@ -64,7 +65,8 @@ jobs:
release_url: ${{ steps.create-release.outputs.html_url }} release_url: ${{ steps.create-release.outputs.html_url }}
asset_upload_url: ${{ steps.create-release.outputs.upload_url }} asset_upload_url: ${{ steps.create-release.outputs.upload_url }}
steps: steps:
- uses: actions/checkout@v2 - name: Checkout sources
uses: actions/checkout@v2
with: with:
fetch-depth: 0 fetch-depth: 0
path: polkadot path: polkadot
@@ -100,8 +102,10 @@ jobs:
matrix: matrix:
runtime: ["polkadot", "kusama", "westend"] runtime: ["polkadot", "kusama", "westend"]
steps: steps:
- uses: actions/checkout@v2 - name: Checkout sources
- uses: actions/download-artifact@v2 uses: actions/checkout@v2
- name: Download artifacts
uses: actions/download-artifact@v2
- name: Set up Ruby 2.7 - name: Set up Ruby 2.7
uses: actions/setup-ruby@v1 uses: actions/setup-ruby@v1
with: with:
@@ -128,7 +132,7 @@ jobs:
needs: publish-draft-release needs: publish-draft-release
steps: steps:
- name: Internal polkadot channel - name: Internal polkadot channel
uses: s3krit/matrix-message-action@v0.0.2 uses: s3krit/matrix-message-action@v0.0.3
with: with:
room_id: ${{ secrets.INTERNAL_POLKADOT_MATRIX_ROOM_ID }} room_id: ${{ secrets.INTERNAL_POLKADOT_MATRIX_ROOM_ID }}
access_token: ${{ secrets.MATRIX_ACCESS_TOKEN }} access_token: ${{ secrets.MATRIX_ACCESS_TOKEN }}
+2 -1
View File
@@ -15,7 +15,8 @@ jobs:
- '!NTogofoetwjbTwOoPi:matrix.parity.io' # Internal release-notes channel - '!NTogofoetwjbTwOoPi:matrix.parity.io' # Internal release-notes channel
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: s3krit/matrix-message-action@v0.0.3 - name: Send Matrix message
uses: s3krit/matrix-message-action@v0.0.3
with: with:
room_id: ${{ matrix.channel }} # heh room_id: ${{ matrix.channel }} # heh
access_token: ${{ secrets.MATRIX_ACCESS_TOKEN }} access_token: ${{ secrets.MATRIX_ACCESS_TOKEN }}
+4 -2
View File
@@ -7,7 +7,8 @@ jobs:
tag_rc: tag_rc:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - name: Checkout sources
uses: actions/checkout@v2
with: with:
fetch-depth: 0 fetch-depth: 0
- id: compute_tag - id: compute_tag
@@ -48,7 +49,8 @@ jobs:
VERSION: ${{ steps.compute_tag.outputs.version }} VERSION: ${{ steps.compute_tag.outputs.version }}
with: with:
filename: .github/ISSUE_TEMPLATE/release.md filename: .github/ISSUE_TEMPLATE/release.md
- uses: s3krit/matrix-message-action@v0.0.2 - name: Send Matrix message
uses: s3krit/matrix-message-action@v0.0.3
if: steps.create-issue.outputs.url != '' if: steps.create-issue.outputs.url != ''
with: with:
room_id: ${{ secrets.INTERNAL_POLKADOT_MATRIX_ROOM_ID }} room_id: ${{ secrets.INTERNAL_POLKADOT_MATRIX_ROOM_ID }}