Shadow/.github/workflows/build.yml
ZeoNight 65be3f00c1
💚 Fix CI
2022-05-07 16:50:05 +00:00

24 lines
679 B
YAML

name: Build Shadow
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
java: [17]
fail-fast: true
steps:
- uses: actions/checkout@v2.3.5
- name: JDK ${{ matrix.java }}
uses: actions/setup-java@v2.3.1
with:
java-version: ${{ matrix.java }}
cache: 'gradle'
distribution: 'temurin'
- name: Build
run: "./gradlew build"
- uses: actions/upload-artifact@v2
with:
name: Builded Jars
path: build/libs