Skip to content

Commit

Permalink
Update and rename gradle.yml to ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
janheinrichmerker authored Mar 5, 2024
1 parent 8d79473 commit 82dec8c
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 19 deletions.
38 changes: 38 additions & 0 deletions .github/workflows/ci.yml
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
19 changes: 0 additions & 19 deletions .github/workflows/gradle.yml

This file was deleted.

0 comments on commit 82dec8c

Please sign in to comment.