Initial #2
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: Project Build | ||
on: | ||
push: | ||
branches: [ main ] | ||
pull_request: | ||
workflow_dispatch: | ||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 60 | ||
steps: | ||
- name: Checkout branch | ||
uses: actions/checkout@v2 | ||
- name: set up JDK 17 | ||
uses: actions/setup-java@v3 | ||
with: | ||
java-version: '17' | ||
distribution: 'temurin' | ||
cache: gradle | ||
- name: Grant execute permission for gradlew | ||
run: chmod +x gradlew | ||
- uses: maxim-lobanov/setup-xcode@v1 | ||
with: | ||
Check failure on line 31 in .github/workflows/build_app.yml GitHub Actions / Project BuildInvalid workflow file
|
||
xcode-version: '15.0.1' | ||
- name: Build with Gradle | ||
run: ./gradlew build | ||
- name: Junit tests with Gradle | ||
run: ./gradlew testDebugUnitTest |