Skip to content

Commit

Permalink
clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
EgorPopelyaev committed Apr 4, 2024
1 parent 626de16 commit fbd56ba
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 30 deletions.
40 changes: 20 additions & 20 deletions .github/workflows/release-30_publish_release_draft.yml
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ jobs:
>>$GITHUB_ENV echo SPEC=$(<${JSON} jq -r .runtimes.compact.subwasm.core_version.specVersion)
- name: Upload compressed ${{ matrix.chain }} v${{ env.SPEC }} wasm
if: ${{ matrix.chain }} ~= 'rococo-parachain'
if: ${{ matrix.chain }} !~= 'rococo-parachain'
uses: actions/upload-release-asset@e8f9f06c4b078e705bd2ea027f0926603fc9b4d5 #v1.0.2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -140,22 +140,22 @@ jobs:
asset_name: ${{ matrix.chain }}_runtime-v${{ env.SPEC }}.compact.compressed.wasm
asset_content_type: application/wasm

# post_to_matrix:
# runs-on: ubuntu-latest
# needs: publish-release-draft
# strategy:
# matrix:
# channel:
# - name: "Team: RelEng Internal"
# room: '!GvAyzgCDgaVrvibaAF:parity.io'

# steps:
# - name: Send Matrix message to ${{ matrix.channel.name }}
# uses: s3krit/matrix-message-action@70ad3fb812ee0e45ff8999d6af11cafad11a6ecf # v0.0.3
# with:
# room_id: ${{ matrix.channel.room }}
# access_token: ${{ secrets.RELEASENOTES_MATRIX_V2_ACCESS_TOKEN }}
# server: m.parity.io
# message: |
# **New version of polkadot tagged**: ${{ github.ref }}<br/>
# Draft release created: ${{ needs.publish-release-draft.outputs.release_url }}
post_to_matrix:
runs-on: ubuntu-latest
needs: publish-release-draft
strategy:
matrix:
channel:
- name: "Team: RelEng Internal"
room: '!GvAyzgCDgaVrvibaAF:parity.io'

steps:
- name: Send Matrix message to ${{ matrix.channel.name }}
uses: s3krit/matrix-message-action@70ad3fb812ee0e45ff8999d6af11cafad11a6ecf # v0.0.3
with:
room_id: ${{ matrix.channel.room }}
access_token: ${{ secrets.RELEASENOTES_MATRIX_V2_ACCESS_TOKEN }}
server: m.parity.io
message: |
**New version of polkadot tagged**: ${{ github.ref }}<br/>
Draft release created: ${{ needs.publish-release-draft.outputs.release_url }}
10 changes: 0 additions & 10 deletions .github/workflows/srtool.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,16 +92,6 @@ jobs:
echo "Compact Runtime: ${{ steps.srtool_build.outputs.wasm }}"
echo "Compressed Runtime: ${{ steps.srtool_build.outputs.wasm_compressed }}"
# # it takes a while to build the runtime, so let's save the artifact as soon as we have it
# - name: Archive Artifacts for ${{ matrix.chain }}
# uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 # v4.3.1
# with:
# name: ${{ matrix.chain }}-runtime
# path: |
# ${{ steps.srtool_build.outputs.wasm }}
# ${{ steps.srtool_build.outputs.wasm_compressed }}
# ${{ matrix.chain }}-srtool-digest.json

# We now get extra information thanks to subwasm
- name: Install subwasm
run: |
Expand Down

0 comments on commit fbd56ba

Please sign in to comment.