mirror of
https://github.com/JonasunderscoreJones/ZtereoMUSIC.git
synced 2025-10-25 13:39:19 +02:00
Update and rename gradle-ci.yml to gradle.yml
This commit is contained in:
parent
8f31bd42e5
commit
5788db9ef5
2 changed files with 25 additions and 22 deletions
22
.github/workflows/gradle-ci.yml
vendored
22
.github/workflows/gradle-ci.yml
vendored
|
|
@ -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
|
|
||||||
25
.github/workflows/gradle.yml
vendored
Normal file
25
.github/workflows/gradle.yml
vendored
Normal 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
|
||||||
Loading…
Add table
Add a link
Reference in a new issue