-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Amir] uncommenting android github workflows
- Loading branch information
Showing
2 changed files
with
31 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -38,28 +38,28 @@ jobs: | |
working-directory: crates/droid | ||
- name: Setup Tauri CLI | ||
uses: ./.github/actions/setup-tauri-cli | ||
# - name: Build Android app | ||
# run: make build-android | ||
# working-directory: crates/droid | ||
# - name: Decode Android keystore | ||
# run: echo ${{ secrets.ANDROID_KEYSTORE_BASE64 }} | base64 -d > android-release-keystore.jks | ||
# working-directory: crates/droid | ||
# - name: Sign and rename APK | ||
# run: | | ||
# export ANDROID_KEYSTORE_PATH=android-release-keystore.jks | ||
# export ANDROID_KEY_ALIAS=${{ secrets.ANDROID_KEY_ALIAS }} | ||
# export ANDROID_KEYSTORE_PASSWORD=${{ secrets.ANDROID_KEYSTORE_PASSWORD }} | ||
# make sign-apk | ||
# make rename-apk | ||
# working-directory: crates/droid | ||
# - name: Get Node project version | ||
# id: package-version | ||
# uses: martinbeentjes/[email protected] | ||
# - name: Publish | ||
# uses: softprops/action-gh-release@v1 | ||
# with: | ||
# draft: true | ||
# name: 'BodhiDroid v${{ steps.package-version.outputs.current-version}}' | ||
# tag_name: 'v${{ steps.package-version.outputs.current-version}}' | ||
# generate_release_notes: true | ||
# files: ./src-tauri/gen/android/app/build/outputs/apk/universal/release/bodhidroid-*.apk | ||
- name: Build Android app | ||
run: make build-android | ||
working-directory: crates/droid | ||
- name: Decode Android keystore | ||
run: echo ${{ secrets.ANDROID_KEYSTORE_BASE64 }} | base64 -d > android-release-keystore.jks | ||
working-directory: crates/droid | ||
- name: Sign and rename APK | ||
run: | | ||
export ANDROID_KEYSTORE_PATH=android-release-keystore.jks | ||
export ANDROID_KEY_ALIAS=${{ secrets.ANDROID_KEY_ALIAS }} | ||
export ANDROID_KEYSTORE_PASSWORD=${{ secrets.ANDROID_KEYSTORE_PASSWORD }} | ||
make sign-apk | ||
make rename-apk | ||
working-directory: crates/droid | ||
- name: Get Node project version | ||
id: package-version | ||
uses: martinbeentjes/[email protected] | ||
- name: Publish | ||
uses: softprops/action-gh-release@v1 | ||
with: | ||
draft: true | ||
name: 'BodhiDroid v${{ steps.package-version.outputs.current-version}}' | ||
tag_name: 'v${{ steps.package-version.outputs.current-version}}' | ||
generate_release_notes: true | ||
files: ./src-tauri/gen/android/app/build/outputs/apk/universal/release/bodhidroid-*.apk |