gowalk-cicd 1.0.223 → 1.0.225

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -557,11 +557,15 @@ the situation and whose **message** is one line of JSON carrying a versioned
557
557
  | `source_maintenance_pending` | `gowalk-cicd/source-maintenance-pending.v1` | `repo`, `base_sha`, `head_sha`, `branch`, `run_id` |
558
558
  | `apple_build_upload_failed` (error) | `gowalk-cicd/apple-build-upload-failed.v2` | `category`, `stage`, `receipt_available`, receipt identifiers (`cfBundleVersion`, `upload_id`, `file_id`, `state`, `provider_status`, `provider_code`, `provider_pointer`), `action` |
559
559
  | `flutter_download_failed` (error) | `gowalk-cicd/flutter-download-failed.v1` | `phase`, `curl_exit`, `http_status`, `proxy_status`, `attempts`, `retained_bytes` |
560
- | `android_build_failed` (error) | `gowalk-cicd/android-build-failed.v1` | `phase`, `exit_code`, `signals` (fixed observed patterns; empty means unclassified), optional `hosts`, `artifacts` and `excerpt` (error lines plus the next line, URL userinfo removed, at most 4 KB) |
560
+ | `android_build_failed` (error) | `gowalk-cicd/android-build-failed.v1` | `phase`, `exit_code`, `signals` (fixed observed patterns; empty means unclassified), optional `hosts`, `artifacts` and `excerpt` (error lines plus the next line, URL userinfo and private build values removed, at most 4 KB) |
561
561
 
562
562
  Android release compilers stream their output to the job log inside `::stop-commands::` markers,
563
563
  so no build line can act as a workflow command. Their failure signals describe observed error
564
564
  patterns, not retry permission or a unique root cause.
565
+ An invalid `ANDROID_BUILD_SECRETS` fails before compiling with the error annotation
566
+ `android_build_secrets_invalid`, whose message is not JSON: it is
567
+ `gowalk-cicd/android-build-secrets-invalid.v1 reason=<reason>[ entry=<n>]`, fixed brace-free fields
568
+ that never carry a name or value from the secret; see [Private build values](#private-build-values-android).
565
569
 
566
570
  Native bundle and Pods failures emit `native_prepare_failed` with schema
567
571
  `gowalk-cicd/native-prepare-failed.v1`, `phase`, a fixed refusal `code` and fixed observed `signals`.
@@ -574,6 +578,10 @@ The backend message is `gowalk-cicd/backend-deploy-failed.v1 phase=<phase> exit_
574
578
  fixed fields without JSON braces, which GitHub can mask when a multiline secret has brace-only lines.
575
579
  Consumers validate the complete envelope, the known phase and exit code 1–255; older JSON messages
576
580
  remain readable by the panel. Masked fields are never reconstructed and credential masking stays enabled.
581
+ During sync, `backend_sync_failed` adds `gowalk-cicd/backend-sync-failed.v1 operation=<operation>
582
+ exit_code=<code>`. Operations are `mkdir_project`, `mkdir_nested`, `rsync_source`, `rsync_nested`,
583
+ `rsync_compose`, `rsync_helpers`, or `unclassified`. This identifies the failed client operation,
584
+ not the host gate's policy or ownership cause; it contains no command, path, host, output or secret.
577
585
  Protected vhost failures add `backend_vhost_failed` (`gowalk-cicd/backend-vhost-failed.v1`) with fixed
578
586
  brace-free `operation`, `stage`, `reason`, `child_exit` and `signals`; see `docs/BACKEND_EDGE.md`.
579
587
  It preserves the existing refusal and records only bounded observed facts, never private child output.
@@ -764,6 +772,55 @@ it are unaffected.
764
772
  > it there does not evaluate to false, it makes the entire workflow file invalid
765
773
  > and every run fails before any job starts.
766
774
 
775
+ ### Private build values (Android)
776
+
777
+ A release Gradle build that reads private values from its environment (an API key, an
778
+ embedded configuration payload) gets them from one optional repository **secret**,
779
+ `ANDROID_BUILD_SECRETS`: one line of JSON mapping names to strings. Keep the file
780
+ outside the repository:
781
+
782
+ ```bash
783
+ # build-secrets.json: {"MAPS_API_KEY":"...","APP_CONFIG_B64":"..."}
784
+ gh secret set ANDROID_BUILD_SECRETS --repo my-org/my-app < build-secrets.json
785
+ ```
786
+
787
+ - Names match `^[A-Z][A-Z0-9_]{0,63}$`. Runner, workflow and action names and the common
788
+ toolchain, loader and transport names are reserved (`GITHUB_*`, `RUNNER_*`, `ACTIONS_*`,
789
+ `INPUT_*`, `CI`, `CI_*`, `HOME`, `PATH`, `ANDROID_*`, `GRADLE_*`, `JAVA_*`, `NODE_*`, `CC`,
790
+ `CFLAGS`, `CMAKE_*`, `NDK_*`, `CLASSPATH`, `LD_*`, `OPENSSL_*`, proxy and TLS variables; the
791
+ list is in `android-action/scripts/build_secrets.py`). Any name the build environment already
792
+ sets is never replaced. Reservation is a guard against mistakes, not a sandbox: whoever can
793
+ set the secret can already change the build.
794
+ - Values are strings without line breaks, at least 8 characters without surrounding
795
+ whitespace. Each value becomes a log mask, and GitHub masks annotation messages too: a value
796
+ like `{`, `1` or `true` would erase that text from every later JSON annotation in the job.
797
+ A short flag is not a secret; commit it or use a repository variable. GitHub caps a secret
798
+ at 48 KB, so gzip and base64-encode a larger payload and decode it in the build.
799
+ - Before compiling, the action registers each value with `::add-mask::`, then gives the
800
+ values only to the compiler process: `<module>:bundleRelease`, or the Gradle build that
801
+ `flutter build appbundle` runs (Dart code does not read the environment; use
802
+ `dart-defines`). They never enter `GITHUB_ENV`, step outputs, artifacts or other action
803
+ steps, and `android_build_failed` redacts them. What the app's build embeds is the app's
804
+ decision: the signed AAB is retained as an artifact and shipped to Play, and anything
805
+ packaged in an APK can be extracted from it.
806
+ - Absent or empty changes nothing. An invalid secret fails before compiling with the
807
+ brace-free error `android_build_secrets_invalid`:
808
+ `gowalk-cicd/android-build-secrets-invalid.v1 reason=<reason>[ entry=<n>]`. Reasons:
809
+ `multiline_secret`, `invalid_json`, `not_object`, `duplicate_name`, `invalid_name`,
810
+ `reserved_name`, `name_in_use`, `value_not_string`, `value_not_single_line`,
811
+ `value_too_short`; `entry` is the 1-based position in the object. It never carries a name
812
+ or value. A multiline secret is refused because GitHub masks each of its lines, and a lone
813
+ `{` line would erase the braces of every JSON annotation in the job.
814
+ - Only the two release compiler steps receive the values. Gradle cache priming
815
+ (`warm-android-cache.yml`) and local builds configure the release variant without them, so
816
+ a build that requires a value must refuse in the task that reads it, when that task runs,
817
+ never at configuration time.
818
+ - Secret values are not part of the candidate-binary fingerprint. A main release can
819
+ promote a matching candidate built before a rotation, so set or rotate the secret before
820
+ the task PR's candidate build, or re-run that candidate workflow afterwards (the newest
821
+ matching candidate wins). Adopting a package release that changes the action already
822
+ changes the fingerprint.
823
+
767
824
  ### Localized release notes
768
825
 
769
826
  Both stores pick up per-locale release notes from committed files:
@@ -47,6 +47,15 @@ inputs:
47
47
  passes the FIREBASE_APP_ID repository variable.
48
48
  required: false
49
49
  default: ""
50
+ build-secrets:
51
+ description: >-
52
+ Optional private build-time values for the release compiler: one line of JSON,
53
+ `{"NAME":"value"}`, with uppercase names and one-line string values of at least 8
54
+ characters. The package workflow passes the ANDROID_BUILD_SECRETS repository secret.
55
+ Values are masked and reach only the Gradle (or `flutter build`) process environment;
56
+ reserved and already-set names refuse. Empty passes nothing. See scripts/build_secrets.py.
57
+ required: false
58
+ default: ""
50
59
 
51
60
  outputs:
52
61
  package-name:
@@ -124,6 +133,7 @@ runs:
124
133
  BUILD_NAME: ${{ inputs.build-name }}
125
134
  DART_DEFINES: ${{ inputs.dart-defines }}
126
135
  DART_SYMBOLS_DIR: ${{ runner.temp }}/dart-symbols/android
136
+ ANDROID_BUILD_SECRETS: ${{ inputs.build-secrets }}
127
137
  run: |
128
138
  args=(
129
139
  build appbundle
@@ -201,13 +211,15 @@ runs:
201
211
  # ANDROID_BUILD_NUMBER is already in the environment: resolve_android.py
202
212
  # exported it through GITHUB_ENV. ANDROID_BUILD_NAME is only set when the
203
213
  # caller actually pinned a build-name — empty means "leave versionName
204
- # alone", which the init script honours.
214
+ # alone", which the init script honours. Only the two compiler steps map
215
+ # build-secrets; the wrapper hands its values to the compiler child alone.
205
216
  - name: Build release Android App Bundle with Gradle
206
217
  if: ${{ steps.config.outputs.project_kind == 'gradle' }}
207
218
  shell: bash
208
219
  working-directory: ${{ steps.config.outputs.gradle_root || '.' }}
209
220
  env:
210
221
  ANDROID_BUILD_NAME: ${{ inputs.build-name }}
222
+ ANDROID_BUILD_SECRETS: ${{ inputs.build-secrets }}
211
223
  run: |
212
224
  chmod +x ./gradlew
213
225
  python3 "${{ github.action_path }}/scripts/android_build_diagnostics.py" --phase gradle_bundle -- \
@@ -11,15 +11,21 @@ resolve or whose certificate was rejected, so its only move was to run the same
11
11
  build again. The failure record therefore also names hosts and artifact
12
12
  coordinates (never a URL, never userinfo) and carries a bounded excerpt of the
13
13
  lines that state the error.
14
+
15
+ Optional private build values (``build_secrets.py``) are masked before the compiler starts, reach
16
+ only its environment and are redacted from the failure record.
14
17
  """
15
18
  import argparse
16
19
  import json
20
+ import os
17
21
  import re
18
22
  import secrets
19
23
  import subprocess
20
24
  import sys
21
25
  import threading
22
26
 
27
+ import build_secrets
28
+
23
29
  LIMIT = 65536
24
30
  #: At most this many extracted facts per kind — a bounded record, not a log.
25
31
  MAX_DETAILS = 8
@@ -102,7 +108,7 @@ def emit(title: str, level: str, **fields) -> None:
102
108
 
103
109
 
104
110
  def drain(stream, tail: bytearray, echo=None) -> None:
105
- """Retain the most recent LIMIT bytes, handing each line to ``echo`` as it arrives."""
111
+ """Retain the most recent LIMIT bytes, handing each line (or LIMIT-byte piece) to ``echo``."""
106
112
  while line := stream.readline(LIMIT):
107
113
  tail[:] = (tail + line)[-LIMIT:]
108
114
  if echo:
@@ -110,20 +116,32 @@ def drain(stream, tail: bytearray, echo=None) -> None:
110
116
 
111
117
 
112
118
  def run(phase: str, command: list[str]) -> int:
119
+ environ = dict(os.environ)
120
+ try:
121
+ private = build_secrets.take(environ)
122
+ except build_secrets.Refused as refused:
123
+ print(f"::error title=android_build_secrets_invalid::{refused}", flush=True)
124
+ return 1
125
+ build_secrets.mask(private)
126
+ environ.update(private)
113
127
  tail = bytearray()
114
128
  try:
115
- child = subprocess.Popen(command, stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
129
+ child = subprocess.Popen(command, stdout=subprocess.PIPE, stderr=subprocess.STDOUT, env=environ)
116
130
  except OSError:
117
131
  emit("android_build_failed", "error", schema="gowalk-cicd/android-build-failed.v1",
118
132
  phase=phase, exit_code=127, signals=["command_start_failed"])
119
133
  return 127
120
- token, lock, streaming = secrets.token_hex(16), threading.Lock(), True
134
+ token, lock, streaming, open_line = secrets.token_hex(16), threading.Lock(), True, False
121
135
 
122
- def echo(line: bytes) -> None:
136
+ def echo(chunk: bytes) -> None:
137
+ nonlocal open_line
123
138
  with lock:
124
139
  if streaming: # never after commands resume
125
- sys.stdout.buffer.write(line if line.endswith(b"\n") else line + b"\n")
140
+ # Written as read, never split by an added newline: a line longer than LIMIT
141
+ # reaches the runner whole, which masks each line by exact match.
142
+ sys.stdout.buffer.write(chunk)
126
143
  sys.stdout.buffer.flush()
144
+ open_line = not chunk.endswith(b"\n")
127
145
 
128
146
  print(f"::stop-commands::{token}", flush=True)
129
147
  reader = threading.Thread(target=drain, args=(child.stdout, tail, echo), daemon=True)
@@ -135,9 +153,14 @@ def run(phase: str, command: list[str]) -> int:
135
153
  child.stdout.close()
136
154
  with lock:
137
155
  streaming = False
138
- print(f"::{token}::", flush=True)
156
+ print(("\n" if open_line else "") + f"::{token}::", flush=True)
139
157
  if code:
140
158
  retained = bytes(tail)
159
+ if private:
160
+ # A full tail can begin inside a value: keep whole lines, then remove every value.
161
+ if len(retained) >= LIMIT:
162
+ retained = retained.partition(b"\n")[2]
163
+ retained = build_secrets.redact(retained, private)
141
164
  found = signals(retained)
142
165
  fields = details(retained, found)
143
166
  if text := excerpt(retained):
@@ -0,0 +1,110 @@
1
+ """Private build-time values for the Android release compiler, from one optional JSON secret.
2
+
3
+ ``ANDROID_BUILD_SECRETS`` is one line of JSON: an object mapping ``NAME`` to a one-line string.
4
+ ``take`` removes it from the compiler environment and returns its validated values, which the
5
+ caller masks and passes to the compiler child alone: never ``GITHUB_ENV``, a step output, an
6
+ artifact or a failure record. A refusal carries a fixed reason and the entry's 1-based position,
7
+ never a name or value from the secret.
8
+ """
9
+ import json
10
+ import re
11
+
12
+ CARRIER = "ANDROID_BUILD_SECRETS"
13
+ SCHEMA = "gowalk-cicd/android-build-secrets-invalid.v1"
14
+ NAME = re.compile(r"[A-Z][A-Z0-9_]{0,63}")
15
+ #: A value is registered as a log mask, and GitHub masks annotation messages too: a short value
16
+ #: such as `{`, `1` or `true` would erase that text from every later line and JSON annotation of
17
+ #: the job. Measured without surrounding whitespace; a short flag is not a secret.
18
+ MIN_VALUE = 8
19
+ #: Runner, workflow and action names plus the common toolchain, loader and transport names: a
20
+ #: build value never sets these. Names the build environment already sets are refused separately.
21
+ RESERVED_PREFIXES = (
22
+ "GITHUB_", "RUNNER_", "ACTIONS_", "INPUT_", "STATE_", "CI_", "MOBILE_", "PLAY_", "ANDROID_",
23
+ "GRADLE_", "ORG_GRADLE_", "JAVA_", "JDK_", "KOTLIN_", "FLUTTER_", "DART_", "PUB_", "CRASHLYTICS_",
24
+ "NODE_", "NPM_", "PYTHON", "LD_", "DYLD_", "BASH_", "GIT_", "SSH_", "SSL_", "CURL_", "REQUESTS_",
25
+ "XDG_", "LC_", "CMAKE_", "NDK_", "MAVEN_", "PKG_CONFIG", "CCACHE_", "OPENSSL_", "MALLOC_",
26
+ "PERL5", "RUBY",
27
+ )
28
+ RESERVED_NAMES = frozenset((
29
+ "CI", "HOME", "PATH", "PWD", "USER", "SHELL", "ENV", "IFS", "PS4", "SHELLOPTS", "BASHOPTS",
30
+ "CDPATH", "TMPDIR", "TMP", "TEMP", "LANG", "LANGUAGE", "TZ", "HTTP_PROXY", "HTTPS_PROXY",
31
+ "ALL_PROXY", "NO_PROXY", "FTP_PROXY", "APPLE_STORE_PROXY_URL", "GOOGLE_STORE_PROXY_URL",
32
+ "GOOGLE_APPLICATION_CREDENTIALS", "BUILD_NAME", "BUNDLE_PATH", "FIREBASE_APP_ID",
33
+ "SEGMENT_DOWNLOAD_TIMEOUT_MINS",
34
+ # Native toolchain and JVM class loading.
35
+ "CC", "CXX", "CPP", "AR", "AS", "LD", "NM", "RANLIB", "STRIP", "CFLAGS", "CXXFLAGS", "CPPFLAGS",
36
+ "LDFLAGS", "LDLIBS", "CLASSPATH",
37
+ # C library loading, name resolution and TLS key logging.
38
+ "GCONV_PATH", "GLIBC_TUNABLES", "HOSTALIASES", "LOCALDOMAIN", "RES_OPTIONS", "LOCPATH",
39
+ "NLSPATH", "SSLKEYLOGFILE",
40
+ ))
41
+
42
+
43
+ class Refused(Exception):
44
+ def __init__(self, reason: str, entry: int = 0):
45
+ super().__init__(reason)
46
+ self.reason, self.entry = reason, entry
47
+
48
+ def __str__(self) -> str:
49
+ # Brace-free: GitHub masks each line of a multiline secret, including a lone `{`.
50
+ return f"{SCHEMA} reason={self.reason}" + (f" entry={self.entry}" if self.entry else "")
51
+
52
+
53
+ def _unique(pairs):
54
+ if len({name for name, _ in pairs}) != len(pairs):
55
+ raise Refused("duplicate_name")
56
+ return dict(pairs)
57
+
58
+
59
+ def _one_line(value: str) -> bool:
60
+ try:
61
+ value.encode("utf-8")
62
+ except UnicodeEncodeError: # an unpaired surrogate cannot enter a process environment
63
+ return False
64
+ return not any(character in value for character in "\r\n\0")
65
+
66
+
67
+ def take(environ: dict) -> dict:
68
+ """Remove the carrier from ``environ``; return its values. Absent or empty means none."""
69
+ raw = environ.pop(CARRIER, "").strip()
70
+ if not raw:
71
+ return {}
72
+ # A multiline secret registers each line as a mask; `{` and `}` lines would then erase
73
+ # the braces of every JSON annotation in this job.
74
+ if "\n" in raw or "\r" in raw:
75
+ raise Refused("multiline_secret")
76
+ try:
77
+ values = json.loads(raw, object_pairs_hook=_unique)
78
+ except (ValueError, RecursionError):
79
+ raise Refused("invalid_json") from None
80
+ if not isinstance(values, dict):
81
+ raise Refused("not_object")
82
+ for entry, (name, value) in enumerate(values.items(), 1):
83
+ if not NAME.fullmatch(name):
84
+ raise Refused("invalid_name", entry)
85
+ if name in RESERVED_NAMES or name.startswith(RESERVED_PREFIXES):
86
+ raise Refused("reserved_name", entry)
87
+ if name in environ:
88
+ raise Refused("name_in_use", entry)
89
+ if not isinstance(value, str):
90
+ raise Refused("value_not_string", entry)
91
+ if not _one_line(value):
92
+ raise Refused("value_not_single_line", entry)
93
+ if len(value.strip()) < MIN_VALUE:
94
+ raise Refused("value_too_short", entry)
95
+ return values
96
+
97
+
98
+ def mask(values: dict) -> None:
99
+ """Register every value with the runner's log masker before the compiler can print it."""
100
+ for value in values.values():
101
+ if value.strip():
102
+ # `%` is the workflow-command escape; the runner unescapes it before masking.
103
+ print(f"::add-mask::{value.replace('%', '%25')}", flush=True)
104
+
105
+
106
+ def redact(data: bytes, values: dict) -> bytes:
107
+ """Replace each complete value, longest first, so a failure record cannot carry one."""
108
+ for value in sorted((v.encode() for v in values.values() if v.strip()), key=len, reverse=True):
109
+ data = data.replace(value, b"***")
110
+ return data
@@ -207,25 +207,31 @@ runs:
207
207
  BACKEND_DEPLOY_PHASE=sync_backend
208
208
  SSH="ssh -p ${DEPLOY_SSH_PORT:-22} -i ~/.ssh/backend_deploy -o IdentitiesOnly=yes -o StrictHostKeyChecking=yes"
209
209
  DEST="/opt/gowalk-backends/${{ inputs.app-name }}"
210
+ BACKEND_SYNC_OPERATION=mkdir_project
210
211
  $SSH "${{ inputs.ssh-user }}@${{ inputs.host }}" "mkdir -p '$DEST'"
211
212
  # --delete keeps the mirror true; preserve the private server-side env files
212
213
  # until their replacement validates so failed credential updates retain the old file.
213
214
  if [ "${COMPOSE_FILE%/*}" = "$BACKEND_DIR" ]; then
215
+ BACKEND_SYNC_OPERATION=rsync_source
214
216
  rsync -az --delete --exclude '.env' --exclude '.runtime.env' --exclude '.git' \
215
217
  --exclude '.backend-edge.json' --exclude '.backend-ingress.conf' --exclude '.backend-public.env' \
216
218
  -e "$SSH" "$BACKEND_DIR/" \
217
219
  "${{ inputs.ssh-user }}@${{ inputs.host }}:$DEST/"
218
220
  else
221
+ BACKEND_SYNC_OPERATION=mkdir_nested
219
222
  $SSH "${{ inputs.ssh-user }}@${{ inputs.host }}" \
220
223
  "mkdir -p '$DEST/$BACKEND_DIR'"
224
+ BACKEND_SYNC_OPERATION=rsync_nested
221
225
  rsync -az --delete --exclude '.env' --exclude '.runtime.env' --exclude '.git' \
222
226
  -e "$SSH" "$BACKEND_DIR/" \
223
227
  "${{ inputs.ssh-user }}@${{ inputs.host }}:$DEST/$BACKEND_DIR/"
228
+ BACKEND_SYNC_OPERATION=rsync_compose
224
229
  rsync -az -e "$SSH" "$COMPOSE_FILE" \
225
230
  "${{ inputs.ssh-user }}@${{ inputs.host }}:$DEST/${COMPOSE_FILE##*/}"
226
231
  fi
227
232
  # Ship remote helpers after the application mirror. They are package
228
233
  # owned and kept out of the consumer's source tree.
234
+ BACKEND_SYNC_OPERATION=rsync_helpers
229
235
  rsync -az -e "$SSH" \
230
236
  "${{ github.action_path }}/remote_deploy.sh" \
231
237
  "${{ github.action_path }}/select_certbot_account.sh" \
@@ -11,6 +11,15 @@ backend_report_failure() {
11
11
  # Multiline JSON secrets can make GitHub mask standalone braces. Keep fixed evidence readable.
12
12
  printf '::error title=backend_deploy_failed::gowalk-cicd/backend-deploy-failed.v1 phase=%s exit_code=%s\n' \
13
13
  "$phase" "$status"
14
+ if [ "$phase" = sync_backend ]; then
15
+ local operation="${BACKEND_SYNC_OPERATION:-unclassified}"
16
+ case "$operation" in
17
+ mkdir_project|mkdir_nested|rsync_source|rsync_nested|rsync_compose|rsync_helpers) ;;
18
+ *) operation=unclassified ;;
19
+ esac
20
+ printf '::error title=backend_sync_failed::gowalk-cicd/backend-sync-failed.v1 operation=%s exit_code=%s\n' \
21
+ "$operation" "$status"
22
+ fi
14
23
  return "$status"
15
24
  }
16
25
 
@@ -26,6 +26,8 @@ successful producer job and retained file hashes. A successful platform's earlie
26
26
  rerunning only its failed sibling. Consumed custom workflow variables participate in fingerprints;
27
27
  unrelated organization variables and the rotating Play edit binding do not. Dynamic whole-object
28
28
  variable use is conservatively included. No credentials are retained inside the binary artifact.
29
+ Secret values, such as `ANDROID_BUILD_SECRETS`, are not fingerprint inputs: rotate one before the
30
+ candidate build, or re-run the candidate workflow afterwards so the newest candidate carries it.
29
31
 
30
32
  Shipping a verified candidate IPA needs only REST calls, so the iOS job's first attempt runs on
31
33
  Linux when admission found a matching candidate (`lookup ios`, reads only). A Linux restore miss
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gowalk-cicd",
3
- "version": "1.0.223",
3
+ "version": "1.0.225",
4
4
  "description": "Zero-config GitHub Actions delivery for iOS TestFlight and Android Google Play.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -581,6 +581,9 @@ jobs:
581
581
  # same define the iOS job passes. Empty leaves the app's default.
582
582
  dart-defines: >-
583
583
  ${{ vars.ONBOARDING_PUBLIC_ORIGIN != '' && format('ONBOARDING_PUBLIC_ORIGIN={0}', vars.ONBOARDING_PUBLIC_ORIGIN) || '' }}
584
+ # Optional one-line JSON {"NAME":"value"}: masked values for the release compiler's
585
+ # process environment only. An input, not step env, so no other action step sees it.
586
+ build-secrets: ${{ secrets.ANDROID_BUILD_SECRETS }}
584
587
  # Keep: a package not yet bound to Play skips the API upload, and the panel's
585
588
  # initial Play setup uploads this bundle through the console.
586
589
  - name: Retain signed Android App Bundle
Binary file