Update and rename gradle-ci.yml to gradle.yml

This commit is contained in:
ZtereoHYPE 2022-01-31 18:17:48 +01:00 committed by GitHub
parent 8f31bd42e5
commit 5788db9ef5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 25 additions and 22 deletions

25
.github/workflows/gradle.yml vendored Normal file
View file

@ -0,0 +1,25 @@
name: Gradle CI
on: [push, pull_request]
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Initialize JDK 17
uses: actions/setup-java@v2
with:
java-version: '17'
- name: Build with Gradle
run: ./gradlew build
- name: Upload build artifacts
uses: actions/upload-artifact@v2
with:
name: ZtereoBOT
path: build/libs/ZtereoBOT-0.0.2-all.jar