-
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update and rename gradle.yml to ci.yml
- Loading branch information
1 parent
8d79473
commit 82dec8c
Showing
2 changed files
with
38 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
name: CI | ||
|
||
on: push | ||
|
||
jobs: | ||
build: | ||
name: 🏗️ Gradle build | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: 📥 Check-out | ||
uses: actions/checkout@v4 | ||
- name: 🧰 Install JDK | ||
uses: actions/setup-java@v4 | ||
with: | ||
java-version: '1.8' | ||
distribution: temurin | ||
cache: gradle | ||
- name: 💪 Grant execute permission for gradlew | ||
run: chmod +x gradlew | ||
- name: 🏗️ Build with Gradle | ||
run: ./gradlew build | ||
test: | ||
needs: build | ||
name: ✅ Gradle test | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: 📥 Check-out | ||
uses: actions/checkout@v4 | ||
- name: 🧰 Install JDK | ||
uses: actions/setup-java@v4 | ||
with: | ||
java-version: '1.8' | ||
distribution: temurin | ||
cache: gradle | ||
- name: 💪 Grant execute permission for gradlew | ||
run: chmod +x gradlew | ||
- name: ✅ Test with Gradle | ||
run: ./gradlew test |
This file was deleted.
Oops, something went wrong.