gowalk-cicd 1.0.0 → 1.0.2
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/action/.daemux-version
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.0.
|
|
1
|
+
1.0.2
|
|
@@ -1 +1 @@
|
|
|
1
|
-
1.0.
|
|
1
|
+
1.0.2
|
package/package.json
CHANGED
package/templates/deploy.yml
CHANGED
|
@@ -57,6 +57,17 @@ 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
|
|
64
|
+
# Apps wired up by `flutterfire configure` carry an Xcode run-script phase that
|
|
65
|
+
# shells out to the flutterfire CLI to upload Crashlytics dSYMs. That CLI is not
|
|
66
|
+
# on a clean runner, so the phase exits non-zero and fails the whole archive.
|
|
67
|
+
if grep -q "firebase_crashlytics:" pubspec.yaml 2>/dev/null; then
|
|
68
|
+
dart pub global activate flutterfire_cli >/dev/null 2>&1 || true
|
|
69
|
+
echo "$HOME/.pub-cache/bin" >> "$GITHUB_PATH"
|
|
70
|
+
fi
|
|
60
71
|
flutter build ios --release --no-codesign --config-only
|
|
61
72
|
- uses: ./.github/actions/swift-app
|
|
62
73
|
with:
|
|
@@ -112,6 +123,16 @@ jobs:
|
|
|
112
123
|
with:
|
|
113
124
|
channel: stable
|
|
114
125
|
cache: true
|
|
126
|
+
# Same reason as the iOS job: apps using AppLocalizations must generate it
|
|
127
|
+
# before anything analyses or compiles them. No-op for apps without l10n.
|
|
128
|
+
- name: Generate localizations
|
|
129
|
+
if: ${{ steps.mode.outputs.mode == 'local' }}
|
|
130
|
+
shell: bash
|
|
131
|
+
run: |
|
|
132
|
+
if [ -f l10n.yaml ]; then
|
|
133
|
+
flutter pub get
|
|
134
|
+
flutter gen-l10n
|
|
135
|
+
fi
|
|
115
136
|
- name: Build and sign Android release
|
|
116
137
|
id: android
|
|
117
138
|
if: ${{ steps.mode.outputs.mode == 'local' }}
|