From 5788db9ef58a93417fde4fd19f67f42126ac9e8e Mon Sep 17 00:00:00 2001 From: ZtereoHYPE <57519662+ZtereoHYPE@users.noreply.github.com> Date: Mon, 31 Jan 2022 18:17:48 +0100 Subject: [PATCH] Update and rename gradle-ci.yml to gradle.yml --- .github/workflows/gradle-ci.yml | 22 ---------------------- .github/workflows/gradle.yml | 25 +++++++++++++++++++++++++ 2 files changed, 25 insertions(+), 22 deletions(-) delete mode 100644 .github/workflows/gradle-ci.yml create mode 100644 .github/workflows/gradle.yml diff --git a/.github/workflows/gradle-ci.yml b/.github/workflows/gradle-ci.yml deleted file mode 100644 index ff03c9b..0000000 --- a/.github/workflows/gradle-ci.yml +++ /dev/null @@ -1,22 +0,0 @@ -name: Gradle CI - -on: [push, pull_request] - -jobs: - build: - name: Build - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v2 - - - name: Initialize JDK 16 - uses: actions/setup-java@v2 - with: - java-version: '16' - distribution: 'adopt' - - - name: Build with Gradle - uses: burrunan/gradle-cache-action@v1 - with: - arguments: build --stacktrace diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml new file mode 100644 index 0000000..696dc87 --- /dev/null +++ b/.github/workflows/gradle.yml @@ -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