mirror of
https://github.com/Miasmusa/Shadow.git
synced 2024-11-14 19:04:54 -05:00
Create build.yml
This commit is contained in:
parent
1bcad80a96
commit
910470c547
1 changed files with 24 additions and 0 deletions
24
.github/workflows/build.yml
vendored
Normal file
24
.github/workflows/build.yml
vendored
Normal file
|
@ -0,0 +1,24 @@
|
|||
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: Patch and build
|
||||
run: "./createRelease.sh"
|
||||
- uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: Builded Jars
|
||||
path: build/libs
|
Loading…
Reference in a new issue