Skip to content

Commit

Permalink
#7 github pipeline - secrets in gradle.properties
Browse files Browse the repository at this point in the history
  • Loading branch information
mjureczko committed Dec 18, 2023
1 parent 99ba6da commit eb6797d
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/test_app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,15 @@ jobs:
- name: Setup Android SDK
uses: android-actions/setup-android@v2

- name: Restore gradle.properties
env:
GRADLE_PROPERTIES: ${{ secrets.GRADLE_PROPERTIES }}
shell: bash
run: |
mkdir -p ~/.gradle/
echo "GRADLE_USER_HOME=${HOME}/.gradle" >> $GITHUB_ENV
echo "${GRADLE_PROPERTIES}" > ~/.gradle/gradle.properties
# Cache Gradle dependencies and Gradle Wrapper
- name: Setup Gradle Cache
uses: actions/cache@v2
Expand Down

0 comments on commit eb6797d

Please sign in to comment.