Merge Feature/43 feature local test services (#49) #1
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: "CD / Android Release Builds" | |
on: | |
push: | |
branches: | |
- main | |
paths: # Only run checks on changes api to code or api dependencies | |
- "api/**/*" | |
- "core/entities/**/*" | |
jobs: | |
build: | |
name: "Setup and Build Project" | |
runs-on: [ubuntu-22.04] | |
if: github.event.pull_request.draft == false # ignore draft pull requests | |
# env: | |
# | |
# outputs: | |
# | |
steps: | |
- name: "Checkout Project" | |
uses: actions/checkout@v4 | |
- name: "Setup Java 17" | |
uses: actions/setup-java@v4 | |
with: | |
distribution: 'temurin' # See 'Supported distributions' for available options | |
java-version: '17' | |
- name: "Setup Gradle" | |
uses: gradle/actions/setup-gradle@v3 | |
- name: "Build: Assemble and Test API" | |
run: | | |
./gradlew :api:build | |
# - run: ./gradlew generate coverage report, upload test/coverage reports | |
- name: "Bundle: Generate Fat-JAR" | |
run: ./gradlew :api:buildFatJar | |
# - name: "Upload: Send Release to GCloud Artifact Repository" |