perf(glsm): fix per-draw client-array re-uploads collapsing GUI/F3 fr… #376
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 mod jar | |
| on: | |
| [workflow_dispatch, push] | |
| permissions: | |
| contents: read | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| with: | |
| # Full history + tags: the build derives the version prefix from the nearest git tag | |
| # (git describe), which fails on the default shallow checkout and silently falls back | |
| # to gradle.properties mod_version. | |
| fetch-depth: 0 | |
| - name: Set up JDK | |
| uses: actions/setup-java@v5 | |
| with: | |
| java-version: '25' | |
| distribution: 'temurin' | |
| - uses: gradle/actions/setup-gradle@v6 | |
| with: | |
| gradle-version: 9.6.1 | |
| name: Set up Gradle | |
| - name: Add permission | |
| run: chmod +x ./gradlew | |
| - name: Execute Gradle build | |
| run: ./gradlew build | |
| - name: Upload a Build Artifact | |
| uses: actions/upload-artifact@v7 | |
| with: | |
| path: build/libs |