Skip to content

Commit

Permalink
Update github workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
thecatcore committed May 1, 2024
1 parent 8e23002 commit 6107130
Showing 1 changed file with 5 additions and 11 deletions.
16 changes: 5 additions & 11 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,21 +8,15 @@ on: [push, pull_request]

jobs:
build:
strategy:
matrix:
java: [
"17" # Latest version
]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: gradle/wrapper-validation-action@v1
- uses: actions/setup-java@v2
- uses: actions/setup-java@v3
with:
distribution: "temurin"
java-version: ${{ matrix.java }}

distribution: temurin
java-version: 17
- name: Grant execute permission
run: chmod +x ./gradlew
- name: Build with Gradle
run: ./gradlew build
run: ./gradlew spotlessCheck build

0 comments on commit 6107130

Please sign in to comment.