fix #39
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Build | |
| on: [ pull_request, push, workflow_dispatch ] | |
| jobs: | |
| Build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Set up JDK 21 | |
| uses: actions/setup-java@v5 | |
| with: | |
| distribution: temurin | |
| java-version: 21 | |
| - name: Setup Gradle | |
| uses: gradle/actions/setup-gradle@v5 | |
| - name: Build | |
| run: | | |
| chmod +x gradlew | |
| ./gradlew build | |
| - name: Upload Fabric artifacts | |
| uses: actions/upload-artifact@v5 | |
| with: | |
| name: fabric-artifacts | |
| path: fabric/build/libs/*.jar | |
| - name: Upload Forge artifacts | |
| uses: actions/upload-artifact@v5 | |
| with: | |
| name: forge-artifacts | |
| path: forge/build/libs/*.jar | |
| - name: Upload NeoForge artifacts | |
| uses: actions/upload-artifact@v5 | |
| with: | |
| name: neoforge-artifacts | |
| path: neoforge/build/libs/*.jar |