Skip to content

Commit

Permalink
build: set gradle user home
Browse files Browse the repository at this point in the history
  • Loading branch information
ivanvc committed Sep 30, 2023
1 parent a007e1c commit 730f30f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ jobs:
distribution: 'temurin'
- name: Load keystore
run: |
echo $GRADLE_USER_HOME && \
mkdir -p ~/.gradle && \
echo "${{ secrets.KEYSTORE_FILE_CONTENTS }}" | base64 -d > ~/.gradle/keystore && \
cat <<EOL > ~/.gradle/gradle.properties
Expand All @@ -28,7 +27,7 @@ jobs:
RELEASE_KEY_PASSWORD=${{ secrets.RELEASE_KEY_PASSWORD }}
EOL
- name: Build Release APK
run: ./gradlew assembleRelease
run: GRADLE_USER_HOME=~/.gradle ./gradlew assembleRelease
- name: Set current directory as a safe repository
run: git config --global --add safe.directory /github/workspace
- uses: ButterCam/setup-github-cli@master
Expand Down

0 comments on commit 730f30f

Please sign in to comment.