Set explicit runner version and specify build tools version for signing (#1787)

This commit is contained in:
AntsyLich 2025-02-28 01:22:22 +06:00 committed by GitHub
parent cd0481592c
commit 7b70b40d30
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 5 additions and 3 deletions

View File

@ -19,7 +19,7 @@ permissions:
jobs:
build:
name: Build app
runs-on: ubuntu-latest
runs-on: 'ubuntu-24.04'
steps:
- name: Clone repo

View File

@ -13,7 +13,7 @@ concurrency:
jobs:
build:
name: Build app
runs-on: ubuntu-latest
runs-on: 'ubuntu-24.04'
steps:
- name: Clone repo
@ -59,13 +59,15 @@ jobs:
- name: Sign APK
if: startsWith(github.ref, 'refs/tags/') && github.repository == 'mihonapp/mihon'
uses: r0adkll/sign-android-release@349ebdef58775b1e0d8099458af0816dc79b6407 # v1
uses: r0adkll/sign-android-release@f30bdd30588842ac76044ecdbd4b6d0e3e813478
with:
releaseDirectory: app/build/outputs/apk/release
signingKeyBase64: ${{ secrets.SIGNING_KEY }}
alias: ${{ secrets.ALIAS }}
keyStorePassword: ${{ secrets.KEY_STORE_PASSWORD }}
keyPassword: ${{ secrets.KEY_PASSWORD }}
env:
BUILD_TOOLS_VERSION: '35.0.1'
- name: Clean up build artifacts
if: startsWith(github.ref, 'refs/tags/') && github.repository == 'mihonapp/mihon'