Skip to content

Commit

Permalink
update multiple os generic way
Browse files Browse the repository at this point in the history
  • Loading branch information
vaisakhkannan committed Jan 15, 2025
1 parent 0d3a117 commit 222dd5d
Showing 1 changed file with 14 additions and 8 deletions.
22 changes: 14 additions & 8 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,18 +53,24 @@ jobs:
# os: [ ubuntu-latest, macOS-latest, windows-latest, ubuntu-latest, macOS-latest, windows-latest ]
matrix:
os:
- name: ubuntu-latest-1
- name: linux-1
value: ubuntu-latest
- name: macOS-latest-1
reportName: linux-test-report-1
- name: mac-1
value: macOS-latest
- name: windows-latest-1
reportName: mac-test-report-1
- name: windows-1
value: windows-latest
- name: ubuntu-latest-2
reportName: windows-test-report-1
- name: linux-2
value: ubuntu-latest
- name: macOS-latest-2
reportName: linux-test-report-2
- name: mac-2
value: macOS-latest
- name: windows-latest-2
reportName: mac-test-report-2
- name: windows-2
value: windows-latest
reportName: windows-test-report-2
# Adding a check to verify if 'refLTITag' is equal to '24.0.9'..
# This code can be removed once the '24.0.9' version is removed from the 'tag' array in the cron job build, and the previous code can be added back.
excludeLTITag:
Expand Down Expand Up @@ -122,7 +128,7 @@ jobs:
if: ${{ runner.os == 'Linux' && !failure() }}
uses: actions/[email protected]
with:
name: artifacts-${{ matrix.os.name }}-liberty-tools-intellij-LTI-${{ env.REF_LTI_TAG || 'default' }}-LSP4IJ-${{ env.LSP4IJ_BRANCH }}
name: liberty-tools-intellij-${{ matrix.os.name }}-LTI-${{ env.REF_LTI_TAG || 'default' }}-LSP4IJ-${{ env.LSP4IJ_BRANCH }}
path: |
./**/*liberty-tools-intellij*.zip
./**/libs/*liberty-tools-intellij*.jar
Expand All @@ -136,6 +142,6 @@ jobs:
if: ${{ failure() && steps.run_tests.conclusion == 'failure' }}
uses: actions/[email protected]
with:
name: ${{ matrix.os.name }}-test-report-LTI-${{ env.REF_LTI_TAG || 'default' }}-LSP4IJ-${{ env.LSP4IJ_BRANCH }}
name: ${{ matrix.os.reportName }}-LTI-${{ env.REF_LTI_TAG || 'default' }}-LSP4IJ-${{ env.LSP4IJ_BRANCH }}
path: |
liberty-tools-intellij/build/reports/

0 comments on commit 222dd5d

Please sign in to comment.