sign, reference proper gradlew in release action

This commit is contained in:
octoshrimpy
2025-06-28 07:20:52 -04:00
committed by GitHub
parent e6e97dc285
commit b4e81f2b13
+10 -2
View File
@@ -21,7 +21,7 @@ jobs:
# Ensure gradlew is executable (for fresh clones) # Ensure gradlew is executable (for fresh clones)
- name: Ensure gradlew is executable - name: Ensure gradlew is executable
run: chmod +x ./presentation/gradlew run: chmod +x ./gradlew
- name: Bump MINOR version in build.gradle (features update) - name: Bump MINOR version in build.gradle (features update)
working-directory: presentation working-directory: presentation
@@ -62,9 +62,17 @@ jobs:
git commit -m "chore: bump feature version [skip ci]" || echo "No changes to commit" git commit -m "chore: bump feature version [skip ci]" || echo "No changes to commit"
git push git push
- name: Decode Keystore File
run: echo "${{ secrets.KEYSTORE_FILE }}" | base64 -d > ${{ github.workspace }}/my-release-key.keystore
- name: Build Release - name: Build Release
working-directory: presentation working-directory: presentation
run: ./gradlew assembleRelease run: |
../gradlew assembleRelease \
-Pandroid.injected.signing.store.file=${{ github.workspace }}/my-release-key.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 }}
# Find and upload APK artifacts for easy download # Find and upload APK artifacts for easy download
- name: Upload APK as artifact - name: Upload APK as artifact