Skip to content

Commit

Permalink
chore: add verify gradle samples build step
Browse files Browse the repository at this point in the history
  • Loading branch information
vpa1977 committed Oct 11, 2024
1 parent 324970d commit 0f6bad8
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,25 @@ jobs:
- uses: gradle/actions/wrapper-validation@v4

build:
name: Validate samples
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Setup Java
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '8'

- name: Build and verify Gradle sample projects
run: |
cd examples/gradle
for x in $(find . -maxdepth 1 -type d -print); do
./gradlew -i create-rock
done
name: Build
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit 0f6bad8

Please sign in to comment.