Skip to content

Commit

Permalink
fix maven platfrom build
Browse files Browse the repository at this point in the history
  • Loading branch information
anb0s authored Jan 15, 2022
1 parent 6dc0450 commit 5cfc3cc
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,8 @@ jobs:
strategy:
fail-fast: false
matrix:
tp: ['Eclipse-4.8', 'Eclipse-2021-06', 'Eclipse-2021-09', 'Eclipse-2021-12']
target-platform: ['Eclipse-4.8', 'Eclipse-2021-06', 'Eclipse-2021-09', 'Eclipse-2021-12']
runs-on: ubuntu-latest
env:
ECLIPSE_TARGET_PLATFORM: ${{ matrix.tp }}
steps:
- uses: actions/checkout@v2
- name: Set up JDK 11
Expand All @@ -27,4 +25,4 @@ jobs:
distribution: 'temurin'
cache: maven
- name: Build with Maven
run: mvn -Dtarget.platform=$(ECLIPSE_TARGET_PLATFORM) clean verify
run: mvn -Dtarget.platform=${{ matrix.target-platform }} clean verify

0 comments on commit 5cfc3cc

Please sign in to comment.