Skip to content

Commit

Permalink
Merge pull request #86 from SwEnt-Group13/chore/apkWorkflow
Browse files Browse the repository at this point in the history
chore(action/apk-maker): add a yml file that should make apk of the main automatically
  • Loading branch information
Romainhir authored Oct 17, 2024
2 parents 07ac912 + 5b00a74 commit dc82b2d
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/apk-maker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,19 @@ jobs:
restore-keys: |
gradle-${{ runner.os }}-
# Load google-services.json and local.properties from the secrets
- name: Decode secrets
env:
GOOGLE_SERVICES: ${{ secrets.GOOGLE_SERVICES }}
LOCAL_PROPERTIES: ${{ secrets.LOCAL_PROPERTIES }}
run: |
echo "$GOOGLE_SERVICES" | base64 --decode > ./app/google-services.json
echo "$LOCAL_PROPERTIES" | base64 --decode > ./local.properties
- name: Grant execute permission for gradlew
run: |
chmod +x ./gradlew
- name: Assemble app debug APK
run: bash ./gradlew assembleDebug --stacktrace

Expand Down

0 comments on commit dc82b2d

Please sign in to comment.