mirror of
https://github.com/architectury/architectury-loom.git
synced 2026-04-01 21:17:46 -05:00
Fix Forge 50 (1.20.6) (#219)
Co-authored-by: shedaniel <daniel@shedaniel.me> Co-authored-by: Juuz <6596629+Juuxel@users.noreply.github.com>
This commit is contained in:
50
.github/workflows/test-push.yml
vendored
50
.github/workflows/test-push.yml
vendored
@@ -148,3 +148,53 @@ jobs:
|
||||
with:
|
||||
name: Reproducible Build ${{ matrix.os }} (${{ matrix.java }}) Results
|
||||
path: build/reports/
|
||||
|
||||
# Special case this test to run on Java 21
|
||||
neoForge1206Test:
|
||||
needs: build
|
||||
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
java: [ 21 ]
|
||||
os: [ ubuntu-22.04 ]
|
||||
|
||||
runs-on: ${{ matrix.os }}
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/setup-java@v4
|
||||
with:
|
||||
java-version: ${{ matrix.java }}
|
||||
distribution: 'temurin'
|
||||
|
||||
- run: ./gradlew test --tests *NeoForge1206Test --stacktrace --warning-mode fail
|
||||
|
||||
- uses: actions/upload-artifact@v4
|
||||
if: ${{ failure() }}
|
||||
with:
|
||||
name: NeoForge 1.20.6 Build Results
|
||||
# Special case this test to run on Java 21
|
||||
forge1206Test:
|
||||
needs: build
|
||||
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
java: [ 21 ]
|
||||
os: [ ubuntu-22.04 ]
|
||||
|
||||
runs-on: ${{ matrix.os }}
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/setup-java@v4
|
||||
with:
|
||||
java-version: ${{ matrix.java }}
|
||||
distribution: 'temurin'
|
||||
|
||||
- run: ./gradlew test --tests *Forge1206Test --stacktrace --warning-mode fail
|
||||
|
||||
- uses: actions/upload-artifact@v4
|
||||
if: ${{ failure() }}
|
||||
with:
|
||||
name: Forge 1.20.6 Build Results
|
||||
path: build/reports/
|
||||
Reference in New Issue
Block a user