Fix serializing and deserializing of ItemStack on 1.21 (#3217) #756
This file contains 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 | |
- 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 |