fix(ci): update publish.yml to use secret for service account JSON #82
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: Basic Check | |
on: | |
pull_request: | |
types: [opened,reopened,synchronize] | |
branches: | |
- master | |
jobs: | |
check: | |
name: Check | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Skip duplicate actions | |
uses: fkirc/skip-duplicate-actions@v5 | |
with: | |
cancel_others: true | |
- uses: actions/setup-java@v4 | |
with: | |
distribution: 'zulu' | |
java-version: 17 | |
cache: 'gradle' | |
- uses: gradle/actions/setup-gradle@v3 | |
with: | |
gradle-version: wrapper | |
gradle-home-cache-cleanup: true | |
# - run: ./gradlew spotlessCheck | |
simple_compile: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- uses: actions/setup-java@v4 | |
with: | |
distribution: 'zulu' | |
java-version: 17 | |
cache: 'gradle' | |
- uses: gradle/actions/setup-gradle@v3 | |
with: | |
gradle-version: wrapper | |
gradle-home-cache-cleanup: true | |
- name: Build apk with Gradle | |
run: ./gradlew :app:assembleDebug |