difftreelog
Prepare execution matrix as pre-requisite.
in: master
1 file changed
.github/workflows/forkless-update-nodata.ymldiffbeforeafterboth21# A workflow run is made up of one or more jobs that can run sequentially or in parallel21# A workflow run is made up of one or more jobs that can run sequentially or in parallel22jobs:22jobs:2324 prepare-execution-marix:25 26 name: Prepare execution matrix27 28 runs-on: self-hosted-ci29 outputs:30 matrix: ${{ steps.create_matrix.outputs.matrix }}31 steps:32 33 - name: Clean Workspace34 uses: AutoModality/action-clean@v1.1.03536 # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it37 - uses: actions/checkout@v338 with:39 ref: ${{ github.head_ref }} #Checking out head commit4041 - name: Read .env file42 uses: xom9ikk/dotenv@v1.0.24344 - name: Create Execution matrix45 uses: fabiocaccamo/create-matrix-action@v246 id: create_matrix47 uses: ./48 with:49 matrix: |50 network {Opal}, runtime {opal}, feature {opal-runtime}, mainnet_branch {${{ env.QUARTZ_MAINNET_TAG }}}51 network {Quartz}, runtime {quartz}, feature {quartz-runtime}, mainnet_branch {${{ env.QUARTZ_MAINNET_TAG }}}52 network {Unique}, runtime {unique}, feature {unique-runtime}, mainnet_branch {${{ env.UNIQUE_MAINNET_TAG }}}53545523 forkless-update-nodata:56 forkless-update-nodata:57 needs: prepare-execution-marix24 # The type of runner that the job will run on58 # The type of runner that the job will run on25 runs-on: self-hosted-ci59 runs-on: self-hosted-ci2660306431 strategy:65 strategy:32 matrix:66 matrix:33 include:67 include: ${{fromJson(needs.prepare-execution-marix.outputs.matrix)}}34 - network: "Opal"68# include:35 features: "opal-runtime"69# - network: "Opal"36 runtime: "opal"70# features: "opal-runtime"37 mainnet_branch: v92401071# runtime: "opal"38 mainnet_tag: v92401072# mainnet_branch: v92401039 - network: "Quartz" # KUSAMA_MAINNET_BRANCH для quartz-runtime73# mainnet_tag: v92401040 features: "quartz-runtime"74# - network: "Quartz" # KUSAMA_MAINNET_BRANCH для quartz-runtime41 runtime: "quartz"75# features: "quartz-runtime"42 mainnet_branch: quartz-v924012-276# runtime: "quartz"43 mainnet_tag: v92401277# mainnet_branch: quartz-v924012-244 - network: "Unique" # POLKADOT_MAINNET_BRANCH для unique-runtime78# mainnet_tag: v92401245 features: "unique-runtime"79# - network: "Unique" # POLKADOT_MAINNET_BRANCH для unique-runtime46 runtime: "unique"80# features: "unique-runtime"47 mainnet_branch: v92401081# runtime: "unique"48 mainnet_tag: v92401082# mainnet_branch: v92401083# mainnet_tag: v924010498450855186