gowalk-cicd 1.0.56 → 1.0.57
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/CLAUDE.md +2 -2
- package/README.md +5 -3
- package/action/.daemux-version +1 -1
- package/android-action/.daemux-version +1 -1
- package/backend-action/.daemux-version +1 -1
- package/package.json +1 -1
- package/src/install.mjs +2 -2
- package/templates/deploy-web.yml +1 -0
- package/templates/deploy.yml +6 -6
package/CLAUDE.md
CHANGED
|
@@ -100,8 +100,8 @@ node /path/to/gowalk-cicd/bin/cli.mjs
|
|
|
100
100
|
never connect to App Store Connect or Google Play.
|
|
101
101
|
- Signing material should use encrypted Actions secrets. `deploy.yml`
|
|
102
102
|
materializes `ASC_KEY_P8` + its ID/issuer, the Apple distribution identity
|
|
103
|
-
(`IOS_DISTRIBUTION_P12_BASE64`, `
|
|
104
|
-
`
|
|
103
|
+
(`IOS_DISTRIBUTION_P12_BASE64`, `IOS_DISTRIBUTION_CERT_META_BASE64`,
|
|
104
|
+
`IOS_DISTRIBUTION_CERT_REGISTRY_BASE64`), and the Android keystore, properties
|
|
105
105
|
and Play service account into an ephemeral runner checkout.
|
|
106
106
|
Tracked `creds/` files remain a backward-compatible fallback.
|
|
107
107
|
- Backend runtime credentials use the single encrypted `BACKEND_RUNTIME_ENV`
|
package/README.md
CHANGED
|
@@ -45,10 +45,12 @@ the reusable Apple Distribution identity:
|
|
|
45
45
|
|
|
46
46
|
- `ASC_KEY_P8`, `ASC_KEY_ID`, `ASC_ISSUER_ID`
|
|
47
47
|
- `IOS_DISTRIBUTION_P12_BASE64`
|
|
48
|
-
- `
|
|
49
|
-
- `
|
|
48
|
+
- `IOS_DISTRIBUTION_CERT_META_BASE64`
|
|
49
|
+
- `IOS_DISTRIBUTION_CERT_REGISTRY_BASE64`
|
|
50
50
|
|
|
51
|
-
|
|
51
|
+
All three distribution-identity values are base64 so their exact bytes—and the
|
|
52
|
+
registry digests over those bytes—survive the secret round trip. The workflow
|
|
53
|
+
materializes them with mode `0600` only in the ephemeral runner
|
|
52
54
|
checkout. Secret-backed signing files are never staged or committed by the
|
|
53
55
|
composite action. The distribution identity files come from the signing
|
|
54
56
|
registry provisioner; pass their paths to the secret tooling without printing
|
package/action/.daemux-version
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.0.
|
|
1
|
+
1.0.57
|
|
@@ -1 +1 @@
|
|
|
1
|
-
1.0.
|
|
1
|
+
1.0.57
|
|
@@ -1 +1 @@
|
|
|
1
|
-
1.0.
|
|
1
|
+
1.0.57
|
package/package.json
CHANGED
package/src/install.mjs
CHANGED
|
@@ -213,8 +213,8 @@ function printSummary() {
|
|
|
213
213
|
console.log('Next steps:');
|
|
214
214
|
console.log(' Recommended: configure encrypted Actions secrets:');
|
|
215
215
|
console.log(' ASC_KEY_P8, ASC_KEY_ID, ASC_ISSUER_ID');
|
|
216
|
-
console.log(' IOS_DISTRIBUTION_P12_BASE64,
|
|
217
|
-
console.log('
|
|
216
|
+
console.log(' IOS_DISTRIBUTION_P12_BASE64, IOS_DISTRIBUTION_CERT_META_BASE64');
|
|
217
|
+
console.log(' IOS_DISTRIBUTION_CERT_REGISTRY_BASE64');
|
|
218
218
|
console.log(' ANDROID_UPLOAD_KEY_BASE64, ANDROID_SIGNING_PROPERTIES');
|
|
219
219
|
console.log(' GOOGLE_PLAY_SERVICE_ACCOUNT_JSON');
|
|
220
220
|
console.log(' The workflow materializes them with mode 0600 only on its ephemeral runner.');
|
package/templates/deploy-web.yml
CHANGED
package/templates/deploy.yml
CHANGED
|
@@ -43,8 +43,8 @@ jobs:
|
|
|
43
43
|
CI_ASC_KEY_ID: ${{ secrets.ASC_KEY_ID }}
|
|
44
44
|
CI_ASC_ISSUER_ID: ${{ secrets.ASC_ISSUER_ID }}
|
|
45
45
|
CI_DISTRIBUTION_P12: ${{ secrets.IOS_DISTRIBUTION_P12_BASE64 }}
|
|
46
|
-
CI_DISTRIBUTION_META: ${{ secrets.
|
|
47
|
-
CI_DISTRIBUTION_REGISTRY: ${{ secrets.
|
|
46
|
+
CI_DISTRIBUTION_META: ${{ secrets.IOS_DISTRIBUTION_CERT_META_BASE64 }}
|
|
47
|
+
CI_DISTRIBUTION_REGISTRY: ${{ secrets.IOS_DISTRIBUTION_CERT_REGISTRY_BASE64 }}
|
|
48
48
|
run: |
|
|
49
49
|
umask 077
|
|
50
50
|
mkdir -p creds
|
|
@@ -59,11 +59,11 @@ jobs:
|
|
|
59
59
|
exit 0
|
|
60
60
|
fi
|
|
61
61
|
: "${CI_DISTRIBUTION_P12:?IOS_DISTRIBUTION_P12_BASE64 secret is required}"
|
|
62
|
-
: "${CI_DISTRIBUTION_META:?
|
|
63
|
-
: "${CI_DISTRIBUTION_REGISTRY:?
|
|
62
|
+
: "${CI_DISTRIBUTION_META:?IOS_DISTRIBUTION_CERT_META_BASE64 secret is required}"
|
|
63
|
+
: "${CI_DISTRIBUTION_REGISTRY:?IOS_DISTRIBUTION_CERT_REGISTRY_BASE64 secret is required}"
|
|
64
64
|
printf '%s' "$CI_DISTRIBUTION_P12" | base64 -D > creds/cert.p12
|
|
65
|
-
printf '%s' "$CI_DISTRIBUTION_META" > creds/cert.meta.json
|
|
66
|
-
printf '%s' "$CI_DISTRIBUTION_REGISTRY" > creds/cert.registry.json
|
|
65
|
+
printf '%s' "$CI_DISTRIBUTION_META" | base64 -D > creds/cert.meta.json
|
|
66
|
+
printf '%s' "$CI_DISTRIBUTION_REGISTRY" | base64 -D > creds/cert.registry.json
|
|
67
67
|
echo "source=encrypted" >> "$GITHUB_OUTPUT"
|
|
68
68
|
- name: Detect Flutter
|
|
69
69
|
id: flutter
|