gowalk-cicd 1.0.0 → 1.0.1

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.
@@ -1 +1 @@
1
- 1.0.0
1
+ 1.0.1
@@ -1 +1 @@
1
- 1.0.0
1
+ 1.0.1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gowalk-cicd",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "Zero-config GitHub Actions delivery for iOS TestFlight and Android Google Play.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -57,6 +57,10 @@ jobs:
57
57
  shell: bash
58
58
  run: |
59
59
  flutter pub get
60
+ # Flutter removed the synthetic `package:flutter_gen`, so apps that use
61
+ # AppLocalizations now generate real sources. Nothing else generates them,
62
+ # and analyze/compile fail on the missing import if we skip this.
63
+ if [ -f l10n.yaml ]; then flutter gen-l10n; fi
60
64
  flutter build ios --release --no-codesign --config-only
61
65
  - uses: ./.github/actions/swift-app
62
66
  with:
@@ -112,6 +116,16 @@ jobs:
112
116
  with:
113
117
  channel: stable
114
118
  cache: true
119
+ # Same reason as the iOS job: apps using AppLocalizations must generate it
120
+ # before anything analyses or compiles them. No-op for apps without l10n.
121
+ - name: Generate localizations
122
+ if: ${{ steps.mode.outputs.mode == 'local' }}
123
+ shell: bash
124
+ run: |
125
+ if [ -f l10n.yaml ]; then
126
+ flutter pub get
127
+ flutter gen-l10n
128
+ fi
115
129
  - name: Build and sign Android release
116
130
  id: android
117
131
  if: ${{ steps.mode.outputs.mode == 'local' }}