Skip to content

Commit

Permalink
Update ci_push.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
iamrasel authored Feb 15, 2024
1 parent 986860f commit 4fd4a79
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/ci_push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,13 @@ jobs:
- name: Build
run: ./gradlew clean && ./gradlew assembleRelease

- 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
- name: Sign
id: sign_apk
uses: r0adkll/sign-android-release@v1
Expand All @@ -46,9 +53,11 @@ jobs:
alias: ${{ secrets.KEY_ALIAS }}
keyStorePassword: ${{ secrets.KEY_STORE_PASSWORD }}
keyPassword: ${{ secrets.KEY_PASSWORD }}
env:
BUILD_TOOLS_VERSION: ${{ env.BUILD_TOOL_VERSION }}

- name: Upload
uses: actions/upload-artifact@v3
with:
name: lunar-launcher-release
path: ${{steps.sign_apk.outputs.signedReleaseFile}}
path: ${{steps.sign_apk.outputs.signedReleaseFile}}

0 comments on commit 4fd4a79

Please sign in to comment.