Remove unnecessary version guards in BukkitWorld, as all supported ve… #1404
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: Gradle Build | |
on: [push, pull_request] | |
jobs: | |
build: | |
name: Build WorldEdit on ${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu-latest, windows-latest] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up JDK | |
uses: actions/setup-java@v3 | |
with: | |
java-version: 17 | |
cache: 'gradle' | |
distribution: 'temurin' | |
- name: Build with Gradle | |
run: ./gradlew build -s | |
- uses: actions/upload-artifact@v3 | |
name: Archive Reports | |
if: always() | |
with: | |
name: reports for ${{ matrix.os }} | |
path: '**/build/reports/**' | |
- uses: actions/upload-artifact@v3 | |
name: Archive Logs | |
if: always() | |
with: | |
name: logs for ${{ matrix.os }} | |
path: '**/*.log' | |