Skip to content

Commit

Permalink
Simplifies CI build
Browse files Browse the repository at this point in the history
  • Loading branch information
jlengrand committed Sep 22, 2023
1 parent ed58821 commit 12b9780
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/build-simple.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Java CI with Gradle

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

jobs:
build-checkout:
runs-on: ubuntu-latest
strategy:
matrix:
java: [ '17', '21' ]
name: Java ${{ matrix.Java }} sample
steps:
- uses: actions/checkout@v3
- name: Setup java
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: ${{ matrix.java }}
- name: Grant checkout-example execute permission for gradlew
run: chmod +x gradlew
- name: Build all examples with Gradle
run: ./gradlew build

0 comments on commit 12b9780

Please sign in to comment.