Skip to content

Commit

Permalink
ci: Sign fail in build action
Browse files Browse the repository at this point in the history
  • Loading branch information
kaaass committed Apr 11, 2024
1 parent 7090c83 commit 70cf05e
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/build-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,13 @@ jobs:
with:
name: App bundle
path: app-debug.apk
# 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
if: github.event_name != 'pull_request'
name: Sign app APK
Expand All @@ -36,6 +43,8 @@ jobs:
signingKeyBase64: ${{ secrets.SIGNING_KEY }}
alias: ${{ secrets.ALIAS }}
keyStorePassword: ${{ secrets.KEY_STORE_PASSWORD }}
env:
BUILD_TOOLS_VERSION: ${{ env.BUILD_TOOL_VERSION }}
- uses: actions/upload-artifact@v4
if: github.event_name != 'pull_request'
name: Upload signed app APK
Expand Down
Binary file added app/debug/app-debug.apk
Binary file not shown.
Binary file added app/debug/app-debug.apk.zip
Binary file not shown.
20 changes: 20 additions & 0 deletions app/debug/output-metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"version": 3,
"artifactType": {
"type": "APK",
"kind": "Directory"
},
"applicationId": "net.kaaass.zerotierfix",
"variantName": "debug",
"elements": [
{
"type": "SINGLE",
"filters": [],
"attributes": [],
"versionCode": 14,
"versionName": "1.0.10",
"outputFile": "app-debug.apk"
}
],
"elementType": "File"
}

0 comments on commit 70cf05e

Please sign in to comment.