git.delta.rocks / unique-network / refs/commits / b423b299a3df

difftreelog

source

.github/workflows/generate-execution-matrix.yml1.5 KiBsourcehistory
1name: Prepare execution matrix23on:4  workflow_call:5    # Map the workflow outputs to job outputs6    outputs:7      matrix_values:8        description: "Matix output"9        matrix: ${{ jobs.prepare-execution-matrix.outputs.matrix }}101112#concurrency:13#  group: ${{ github.workflow }}-${{ github.head_ref }}14#  cancel-in-progress: true151617jobs:18  prepare-execution-matrix:19    name: Generate output20    runs-on: self-hosted-ci21    # Map the job outputs to step outputs22    outputs:23      matrix: ${{ steps.create_matrix.outputs.matrix }}2425    steps:2627      - name: Clean Workspace28        uses: AutoModality/action-clean@v1.1.02930      # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it31      - uses: actions/checkout@v3.1.032        with:33          ref: ${{ github.head_ref }}  #Checking out head commit3435      - name: Read .env file36        uses: xom9ikk/dotenv@v23738      - name: Create Execution matrix39        uses: CertainLach/create-matrix-action@v440        id: create_matrix41        with:42          matrix: |43            network {opal}, runtime {opal}, features {opal-runtime}, mainnet_branch {${{ env.OPAL_MAINNET_TAG }}}, replica_from_address {${{ env.OPAL_REPLICA_FROM }}}44            network {quartz}, runtime {quartz}, features {quartz-runtime}, mainnet_branch {${{ env.QUARTZ_MAINNET_TAG }}}, replica_from_address {${{ env.QUARTZ_REPLICA_FROM }}}45            network {unique}, runtime {unique}, features {unique-runtime}, mainnet_branch {${{ env.UNIQUE_MAINNET_TAG }}}, replica_from_address {${{ env.UNIQUE_REPLICA_FROM }}}