Updated Upstream (Leaf) #368
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 DeepslateMC | |
| on: [ push, pull_request ] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/[email protected] | |
| - name: Set up JDK 21 | |
| uses: actions/[email protected] | |
| with: | |
| java-version: 21.0.8 | |
| distribution: 'temurin' | |
| - name: Configure Git | |
| run: | | |
| git config --global user.email "[email protected]" | |
| git config --global user.name "Github Actions" | |
| - name: Grant execute permission for gradlew | |
| run: chmod +x gradlew | |
| - name: Apply patches | |
| run: ./gradlew applyAllPatches | |
| - name: Generate Paperclip Jar | |
| run: ./gradlew createMojmapPaperclipJar | |
| - name: Upload Paperclip | |
| uses: actions/[email protected] | |
| with: | |
| name: DeepslateMC | |
| path: deepslateMC-server/build/libs/deepslateMC-paperclip-1.21.8-R0.1-SNAPSHOT-mojmap.jar |