diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 8117eb020..e32b08133 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -47,19 +47,19 @@ on: jobs: build: name: build ( ${{ matrix.os.name }}, ${{ matrix.excludeLTITag }} ) - runs-on: ${{ matrix.os.value }} + runs-on: ${{ matrix.runtime.os }} strategy: fail-fast: false matrix: - os: + runtime: - name: linux - value: ubuntu-latest + os: ubuntu-latest reportName: linux-test-report - name: mac - value: macOS-latest + os: macOS-latest reportName: mac-test-report - name: windows - value: windows-latest + os: windows-latest reportName: windows-test-report # It’s not necessary to remove the below condition even after removing the '24.0.9' version from the 'tag' array in the cron job build. # Specify the LTI tag to limit the OS. @@ -69,10 +69,10 @@ jobs: # Adding a check on macOS and Windows to verify if 'excludeLTITag' is equal to 'true'. The value of 'excludeLTITag' is used to determine whether the job need to be executed. exclude: - excludeLTITag: true - os: + runtime: name: mac - excludeLTITag: true - os: + runtime: name: windows env: USE_LOCAL_PLUGIN: ${{ inputs.useLocalPlugin || false }} @@ -135,6 +135,6 @@ jobs: if: ${{ failure() && steps.run_tests.conclusion == 'failure' }} uses: actions/upload-artifact@v4.3.4 with: - name: ${{ matrix.os.reportName }}-LTI-${{ env.REF_LTI_TAG || 'default' }}-LSP4IJ-${{ env.LSP4IJ_BRANCH }} + name: ${{ matrix.runtime.reportName }}-LTI-${{ env.REF_LTI_TAG || 'default' }}-LSP4IJ-${{ env.LSP4IJ_BRANCH }} path: | liberty-tools-intellij/build/reports/ \ No newline at end of file