Develop beta 13 (#2103) #879
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: [ push, pull_request, merge_group ] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| with: | |
| fetch-depth: 0 | |
| - uses: actions/setup-java@v4 | |
| with: | |
| distribution: 'microsoft' | |
| java-version: '21' | |
| - name: Setup Gradle | |
| uses: gradle/actions/setup-gradle@v4 | |
| - name: Build | |
| id: gradle-build | |
| run: ./gradlew clean build publishToMavenLocal --stacktrace | |
| - name: Upload main artifact | |
| uses: actions/upload-artifact@v4 | |
| env: | |
| PRIMARY_ARTIFACT: ${{ steps.gradle-build.outputs.PRIMARY_ARTIFACT }} | |
| with: | |
| name: Nightly mod jar | |
| path: ${{ env.PRIMARY_ARTIFACT }} | |
| - name: Upload maven local | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: Maven Local | |
| path: ~/.m2/repository |