Skip to content

Commit

Permalink
💚 update forge ci
Browse files Browse the repository at this point in the history
  • Loading branch information
kitUIN committed Sep 30, 2024
1 parent a8fbee1 commit f0a069e
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/test_forge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,19 @@ jobs:
- uses: actions/checkout@v4
- name: Chose JDK 8
uses: actions/setup-java@v4
# if: '${{ matrix.config.mc-loader }}-${{ matrix.config.mc-version }}' = 'forge-1.16.5'
if: contains('["1.16.5"]', matrix.config.mc-version)
with:
java-version: '8'
distribution: 'temurin'
- name: Chose JDK 17
uses: actions/setup-java@v4
if: contains('["1.18.2","1.19","1.20","1.20.2","1.20.3"]', matrix.config.mc-version)
with:
java-version: '17'
distribution: 'temurin'
- name: Chose JDK 21
uses: actions/setup-java@v4
# if: '${{ matrix.config.mc-loader }}-${{ matrix.config.mc-version }}' != 'forge-1.16.5'
if: contains('["1.20.5"]', matrix.config.mc-version)
with:
java-version: '21'
distribution: 'temurin'
Expand Down

0 comments on commit f0a069e

Please sign in to comment.