difftreelog
matrix generation was replaced by static matrix.
in: master
1 file changed
.github/workflows/try-runtime.ymldiffbeforeafterboth22# A workflow run is made up of one or more jobs that can run sequentially or in parallel22# A workflow run is made up of one or more jobs that can run sequentially or in parallel23jobs:23jobs:2425 prepare-execution-marix-try-runtime:26 27 name: Prepare execution matrix for fork28 29 runs-on: self-hosted-ci30 outputs:31 matrix: ${{ steps.create_matrix.outputs.matrix }}32 steps:33 - name: Skip if pull request is in Draft34 # `if: github.event.pull_request.draft == true` should be kept here, at35 # the step level, rather than at the job level. The latter is not36 # recommended because when the PR is moved from "Draft" to "Ready to37 # review" the workflow will immediately be passing (since it was skipped),38 # even though it hasn't actually ran, since it takes a few seconds for39 # the workflow to start. This is also disclosed in:40 # https://github.community/t/dont-run-actions-on-draft-pull-requests/16817/1741 # That scenario would open an opportunity for the check to be bypassed:42 # 1. Get your PR approved43 # 2. Move it to Draft44 # 3. Push whatever commits you want45 # 4. Move it to "Ready for review"; now the workflow is passing (it was46 # skipped) and "Check reviews" is also passing (it won't be updated47 # until the workflow is finished)48 if: github.event.pull_request.draft == true49 run: exit 15051 - name: Clean Workspace52 uses: AutoModality/action-clean@v1.1.05354 # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it55 - uses: actions/checkout@v356 with:57 ref: ${{ github.head_ref }} #Checking out head commit5859 - name: Read .env file60 uses: xom9ikk/dotenv@v1.0.26162 - name: Create Execution matrix63 uses: fabiocaccamo/create-matrix-action@v264 id: create_matrix65 with:66 matrix: |67 network {Opal}, features {opal-runtime}, fork_from_address {'wss://eu-ws-opal.unique.network:443'}68 network {Quartz}, features {quartz-runtime}, fork_from_address {'wss://eu-ws-quartz.unique.network:443'}69 network {Unique}, features {unique-runtime}, fork_from_address {'wss://eu-ws.unique.network:443'}70717273 fork-update-withdata:24 fork-update-withdata:74 needs: prepare-execution-marix-try-runtime75 # The type of runner that the job will run on25 # The type of runner that the job will run on76 runs-on: self-hosted-ci26 runs-on: self-hosted-ci7727813182 strategy:32 strategy:83 matrix:33 matrix:84 include: ${{fromJson(needs.prepare-execution-marix-try-runtime.outputs.matrix)}}34 include:35 - network: Opal36 features: try-runtime,opal-runtime37 fork_from_address: wss://eu-ws-opal.unique.network:44338 - network: Quartz39 features: try-runtime,quartz-runtime40 fork_from_address: wss://eu-ws-quartz.unique.network:44341 - network: Unique42 features: try-runtime,unique-runtime43 fork_from_address: wss://eu-ws.unique.network:443854486 steps:45 steps:46# - name: Skip if pull request is in Draft47 # `if: github.event.pull_request.draft == true` should be kept here, at48 # the step level, rather than at the job level. The latter is not49 # recommended because when the PR is moved from "Draft" to "Ready to50 # review" the workflow will immediately be passing (since it was skipped),51 # even though it hasn't actually ran, since it takes a few seconds for52 # the workflow to start. This is also disclosed in:53 # https://github.community/t/dont-run-actions-on-draft-pull-requests/16817/1754 # That scenario would open an opportunity for the check to be bypassed:55 # 1. Get your PR approved56 # 2. Move it to Draft57 # 3. Push whatever commits you want58 # 4. Move it to "Ready for review"; now the workflow is passing (it was59 # skipped) and "Check reviews" is also passing (it won't be updated60 # until the workflow is finished)61# if: github.event.pull_request.draft == true62# run: exit 163876488 - name: Clean Workspace65 - name: Clean Workspace