diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml index d5a9d3a..26b8b47 100644 --- a/.github/workflows/gradle.yml +++ b/.github/workflows/gradle.yml @@ -23,12 +23,48 @@ jobs: steps: - uses: actions/checkout@v3 - - name: Set up JDK 17 + - name: Set up JDK 21 uses: actions/setup-java@v3 with: - java-version: '17' + java-version: '21' distribution: 'temurin' - name: Build with Gradle uses: gradle/gradle-build-action@bd5760595778326ba7f1441bcf7e88b49de61a25 # v2.6.0 with: arguments: build + - name: Upload Fabric Mod + uses: actions/upload-artifact@v4 + with: + name: crystals-fabric-1.2.1 + path: /home/runner/work/Crystals/Crystals/fabric/build/libs/crystals-1.2.1.jar + retention-days: 7 + - name: Upload Fabric Mod Sources + uses: actions/upload-artifact@v4 + with: + name: crystals-fabric-1.2.1-sources + path: /home/runner/work/Crystals/Crystals/fabric/build/libs/crystals-1.2.1-sources.jar + retention-days: 7 + - name: Upload Fabric Mod Dev Shadow + uses: actions/upload-artifact@v4 + with: + name: crystals-fabric-1.2.1-dev-shadow + path: /home/runner/work/Crystals/Crystals/fabric/build/libs/crystals-1.2.1-dev-shadow.jar + retention-days: 7 + - name: Upload NeoForge Mod + uses: actions/upload-artifact@v4 + with: + name: crystals-neoforge-1.2.1 + path: /home/runner/work/Crystals/Crystals/neoforge/build/libs/crystals-1.2.1.jar + retention-days: 7 + - name: Upload NeoForge Mod Sources + uses: actions/upload-artifact@v4 + with: + name: crystals-neoforge-1.2.1-sources + path: /home/runner/work/Crystals/Crystals/neoforge/build/libs/crystals-1.2.1-sources.jar + retention-days: 7 + - name: Upload NeoForge Mod Dev Shadow + uses: actions/upload-artifact@v4 + with: + name: crystals-neoforge-1.2.1-dev-shadow + path: /home/runner/work/Crystals/Crystals/neoforge/build/libs/crystals-1.2.1-dev-shadow.jar + retention-days: 7