-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
50439ee
commit 5a12d8d
Showing
1 changed file
with
10 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -85,6 +85,7 @@ jobs: | |
- name: Setup Gradle | ||
uses: gradle/[email protected] | ||
- run: ./gradlew packageReleaseDistributionForCurrentOS -Pcompose.desktop.mac.sign=true --stacktrace | ||
shell: bash | ||
- name: Package Linux Distribution | ||
if: matrix.os == 'ubuntu-latest' | ||
run: ./gradlew packageDistributable | ||
|
@@ -146,9 +147,18 @@ jobs: | |
alias: ${{ secrets.KEY_ALIAS }} | ||
keyStorePassword: ${{ secrets.KEYSTORE_PASSWORD }} | ||
keyPassword: ${{ secrets.KEY_PASSWORD }} | ||
# https://github.com/r0adkll/sign-android-release/issues/84#issuecomment-1889636075 | ||
- name: Setup build tool version variable | ||
shell: bash | ||
run: | | ||
BUILD_TOOL_VERSION=$(ls /usr/local/lib/android/sdk/build-tools/ | tail -n 1) | ||
echo "BUILD_TOOL_VERSION=$BUILD_TOOL_VERSION" >> $GITHUB_ENV | ||
echo Last build tool version is: $BUILD_TOOL_VERSION | ||
- uses: r0adkll/sign-android-release@v1 | ||
id: sign_apk | ||
name: Sign APK | ||
env: | ||
BUILD_TOOLS_VERSION: ${{ env.BUILD_TOOL_VERSION }} | ||
with: | ||
releaseDirectory: app/android/build/outputs/apk/release/ | ||
signingKeyBase64: ${{ secrets.KEYSTORE }} | ||
|