git.delta.rocks / unique-network / refs/commits / 593e55c0dc52

difftreelog

Prepare execution matrix as pre-requisite.

Alexander Aksenov2022-08-12parent: #be539d7.patch.diff
in: master

1 file changed

modified.github/workflows/forkless-update-nodata.ymldiffbeforeafterboth
21# 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 parallel
22jobs:22jobs:
23
24 prepare-execution-marix:
25
26 name: Prepare execution matrix
27
28 runs-on: self-hosted-ci
29 outputs:
30 matrix: ${{ steps.create_matrix.outputs.matrix }}
31 steps:
32
33 - name: Clean Workspace
34 uses: AutoModality/action-clean@v1.1.0
35
36 # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
37 - uses: actions/checkout@v3
38 with:
39 ref: ${{ github.head_ref }} #Checking out head commit
40
41 - name: Read .env file
42 uses: xom9ikk/dotenv@v1.0.2
43
44 - name: Create Execution matrix
45 uses: fabiocaccamo/create-matrix-action@v2
46 id: create_matrix
47 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 }}}
53
54
55
23 forkless-update-nodata:56 forkless-update-nodata:
57 needs: prepare-execution-marix
24 # The type of runner that the job will run on58 # The type of runner that the job will run on
25 runs-on: self-hosted-ci59 runs-on: self-hosted-ci
2660
3064
31 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: v924010
39 - network: "Quartz" # KUSAMA_MAINNET_BRANCH для quartz-runtime73# mainnet_tag: v924010
40 features: "quartz-runtime"74# - network: "Quartz" # KUSAMA_MAINNET_BRANCH для quartz-runtime
41 runtime: "quartz"75# features: "quartz-runtime"
42 mainnet_branch: quartz-v924012-276# runtime: "quartz"
43 mainnet_tag: v92401277# mainnet_branch: quartz-v924012-2
44 - network: "Unique" # POLKADOT_MAINNET_BRANCH для unique-runtime78# mainnet_tag: v924012
45 features: "unique-runtime"79# - network: "Unique" # POLKADOT_MAINNET_BRANCH для unique-runtime
46 runtime: "unique"80# features: "unique-runtime"
47 mainnet_branch: v92401081# runtime: "unique"
48 mainnet_tag: v92401082# mainnet_branch: v924010
83# mainnet_tag: v924010
4984
5085
5186