Skip to content

Commit

Permalink
changed os to runtime
Browse files Browse the repository at this point in the history
  • Loading branch information
vaisakhkannan committed Jan 15, 2025
1 parent 2bde125 commit 7a0c0cf
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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 }}
Expand Down Expand Up @@ -135,6 +135,6 @@ jobs:
if: ${{ failure() && steps.run_tests.conclusion == 'failure' }}
uses: actions/[email protected]
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/

0 comments on commit 7a0c0cf

Please sign in to comment.