Fix more Bukkit custom inventories (#248) #132
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: Build | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup JDK 8 | |
uses: actions/setup-java@v3 | |
with: | |
java-version: 8 | |
distribution: temurin | |
- 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 | |
uses: burrunan/gradle-cache-action@v1 | |
with: | |
arguments: build paperclipJar | |
read-only: false | |
- 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@v3 | |
with: | |
name: Server JAR | |
path: pandaspigot-${{ github.run_number }}.jar | |
if-no-files-found: error |