Support 1.20.5 Spigot #173
Workflow file for this run
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 Pull Request | |
on: [ pull_request ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository and submodules | |
uses: actions/checkout@v3 | |
with: | |
submodules: recursive | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v2 | |
with: | |
distribution: 'temurin' | |
java-version: '17' | |
cache: 'gradle' | |
- name: Build | |
run: ./gradlew build | |
- name: Archive artifacts (Floodgate Bungee) | |
uses: actions/upload-artifact@v2 | |
if: success() | |
with: | |
name: Floodgate Bungee | |
path: bungee/build/libs/floodgate-bungee.jar | |
- name: Archive artifacts (Floodgate Spigot) | |
uses: actions/upload-artifact@v2 | |
if: success() | |
with: | |
name: Floodgate Spigot | |
path: spigot/build/libs/floodgate-spigot.jar | |
- name: Archive artifacts (Floodgate Velocity) | |
uses: actions/upload-artifact@v2 | |
if: success() | |
with: | |
name: Floodgate Velocity | |
path: velocity/build/libs/floodgate-velocity.jar |