Fix CrashReport sometimes going into an infinite loop (#376) #192
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: | |
| branches: | |
| - master | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Setup JDK 17 | |
| uses: actions/setup-java@v5 | |
| with: | |
| java-version: 17 | |
| distribution: temurin | |
| cache: gradle | |
| - name: Set Git identity | |
| run: | | |
| git config --global user.email "actions@github.com" | |
| git config --global user.name "GitHub Actions" | |
| git config --global init.defaultBranch master | |
| - name: Setup build environment | |
| run: ./panda setup | |
| - name: Apply patches | |
| run: ./panda patch | |
| - name: Build | |
| run: ./gradlew build paperclipJar | |
| - name: Copy Paperclip jar | |
| run: | | |
| cp -v "./paperclip/build/libs/paperclip-1.8.8-R0.1-SNAPSHOT.jar" "./pandaspigot-$GITHUB_RUN_NUMBER.jar" | |
| - name: Upload artifacts | |
| uses: actions/upload-artifact@v6 | |
| with: | |
| name: Server JAR | |
| path: pandaspigot-${{ github.run_number }}.jar | |
| if-no-files-found: error |