Skip to content

Commit

Permalink
Use different gradle cache
Browse files Browse the repository at this point in the history
  • Loading branch information
Dinnerbone committed Mar 25, 2024
1 parent 985b3b9 commit efe8fec
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,10 +79,8 @@ jobs:
distribution: 'temurin'
java-version: '17'

- uses: actions/upload-artifact@v4
with:
name: ruffle-debug-apks
path: app/build/outputs/apk/debug/*.apk
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3

- name: Decode keystore
if: ${{ !github.event.pull_request.head.repo.fork }}
Expand All @@ -92,15 +90,11 @@ jobs:
echo $ENCODED_STRING | base64 -di > app/androidkey.jks
- name: Build release APK
uses: burrunan/gradle-cache-action@v1
env:
SIGNING_KEY_ALIAS: ${{ secrets.SIGNING_KEY_ALIAS }}
SIGNING_KEY_PASSWORD: ${{ secrets.SIGNING_KEY_PASSWORD }}
SIGNING_STORE_PASSWORD: ${{ secrets.SIGNING_STORE_PASSWORD }}
with:
arguments: assembleRelease
gradle-version: wrapper
read-only: ${{ github.ref != 'refs/heads/main' }}
run: ./gradlew assembleRelease

- uses: actions/upload-artifact@v4
if: ${{ !github.event.pull_request.head.repo.fork }}
Expand Down

0 comments on commit efe8fec

Please sign in to comment.