Only try to read signing data in release workflow (#3431)

This commit is contained in:
AntsyLich
2026-06-18 00:34:00 +06:00
committed by GitHub
parent 6552ffe315
commit 50d0e8ae0a
2 changed files with 4 additions and 1 deletions
+3
View File
@@ -4,6 +4,9 @@ on:
tags:
- v*
env:
MIHON_GITHUB_RELEASE: true
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
+1 -1
View File
@@ -43,7 +43,7 @@ android {
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
}
if (System.getenv("GITHUB_ACTIONS").toBoolean() && System.getenv("GITHUB_REPOSITORY_OWNER") == "mihonapp") {
if (System.getenv("MIHON_GITHUB_RELEASE").toBoolean()) {
val tempStoreFile = file(System.getenv("RUNNER_TEMP")).resolve("antsy.keystore")
val storeFileBytes = System.getenv("storeFileBase64").let(Base64::decode)