Merge pull request #77 from aminghadersohi/kotlin1.8 #4
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
name: Gradle Samples | |
on: | |
push: | |
branches: [ main ] | |
jobs: | |
build: | |
strategy: | |
matrix: | |
os: [ubuntu-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-java@v1 | |
with: | |
java-version: 11 | |
- uses: webfactory/[email protected] | |
with: | |
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }} | |
- name: Setup Gradle | |
uses: gradle/gradle-build-action@v2 | |
- name: Build Samples | |
run: | | |
for d in samples/*; do | |
set -e | |
[ -d "$d" ] || continue | |
echo "== $d ==" | |
pushd "$d" >/dev/null | |
../../gradlew gitQueryInit build | |
popd >/dev/null | |
done |