Skip to content

Commit

Permalink
sign debug builds
Browse files Browse the repository at this point in the history
  • Loading branch information
qimiko committed Dec 27, 2023
1 parent 650c31a commit af2b322
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,19 +22,16 @@ jobs:
- name: Generate keystore file
run: echo ${{secrets.KEYSTORE_FILE}} | base64 -d > ~/release.keystore

- name: Generate keystore properties
run: |
touch ${{github.workspace}}/app/signing.properties
echo "storeFile=$HOME/release.keystore
storePassword=${{secrets.KEYSTORE_PASSWORD}}
keyAlias=${{secrets.KEY_ALIAS}}
keyPassword=${{secrets.KEY_PASSWORD}}" > ${{github.workspace}}/app/signing.properties
- name: Fix gradle permissions
run: chmod +x ./gradlew

- name: Build project
run: ./gradlew app:assembleDebug
run: |
./gradlew app:assembleDebug \
-Pandroid.injected.signing.store.file=$HOME/release.keystore \
-Pandroid.injected.signing.store.password=${{secrets.KEYSTORE_PASSWORD}} \
-Pandroid.injected.signing.key.alias=${{secrets.KEY_ALIAS}} \
-Pandroid.injected.signing.key.password=${{secrets.KEY_PASSWORD}}
- name: Upload development build
uses: actions/upload-artifact@v3
Expand Down

0 comments on commit af2b322

Please sign in to comment.