Repository navigation
fix async packet type logic, buffer slicing, and null/out-of-bounds guards #922
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: ProtocolLib full build lifecycle | |
| on: | |
| push: | |
| branches-ignore: | |
| - 'gh-pages' | |
| pull_request: | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Setup java | |
| uses: actions/setup-java@v4 | |
| with: | |
| distribution: 'temurin' | |
| java-version: '21' | |
| cache: 'gradle' | |
| - name: Run gradle build lifecycle | |
| run: ./gradlew build shadowJar --no-daemon | |
| - name: Upload plugin file | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: ProtocolLib | |
| path: build/libs/ProtocolLib.jar |