Skip to content

Commit

Permalink
ci: fix sign failure
Browse files Browse the repository at this point in the history
  • Loading branch information
oldkingOK committed Jul 28, 2024
1 parent 7f96e7b commit cdd2b59
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,13 @@ jobs:
distribution: 'adopt'
java-version: '17'
architecture: x64

- 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: Set up Go
run: |
Expand Down Expand Up @@ -79,6 +86,8 @@ jobs:
alias: ${{ secrets.ALIAS }}
keyStorePassword: ${{ secrets.KEY_STORE_PASSWORD }}
keyPassword: ${{ secrets.KEY_PASSWORD }}
env:
BUILD_TOOLS_VERSION: ${{ env.BUILD_TOOL_VERSION }}

- name: Rename APK
run:
Expand Down

0 comments on commit cdd2b59

Please sign in to comment.