gowalk-cicd 1.0.27 → 1.0.28

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.27
1
+ 1.0.28
@@ -1 +1 @@
1
- 1.0.27
1
+ 1.0.28
@@ -1 +1 @@
1
- 1.0.27
1
+ 1.0.28
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gowalk-cicd",
3
- "version": "1.0.27",
3
+ "version": "1.0.28",
4
4
  "description": "Zero-config GitHub Actions delivery for iOS TestFlight and Android Google Play.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -59,6 +59,23 @@ jobs:
59
59
  ~/Library/Caches/CocoaPods
60
60
  key: pods-${{ runner.os }}-${{ hashFiles('ios/Podfile.lock', 'pubspec.lock') }}
61
61
  restore-keys: pods-${{ runner.os }}-
62
+ # Same as the android job: a private git dependency (e.g. the pomogator
63
+ # onboarding SDK) is cloned by `flutter pub get` below. The runner has no
64
+ # SSH key, so an https url only resolves once this token rewrite is in
65
+ # place. No secret => no-op (the dep must then carry its own credentials).
66
+ - name: Authenticate private git dependencies
67
+ if: ${{ steps.flutter.outputs.enabled == 'true' }}
68
+ shell: bash
69
+ env:
70
+ GIT_PRIVATE_TOKEN: ${{ secrets.GIT_PRIVATE_TOKEN }}
71
+ run: |
72
+ if [ -z "${GIT_PRIVATE_TOKEN:-}" ]; then
73
+ echo "No GIT_PRIVATE_TOKEN secret; private git dependencies must carry their own credentials."
74
+ exit 0
75
+ fi
76
+ echo "::add-mask::$GIT_PRIVATE_TOKEN"
77
+ git config --global url."https://x-access-token:${GIT_PRIVATE_TOKEN}@github.com/".insteadOf "https://github.com/"
78
+ echo "Configured authenticated github.com remotes for pub."
62
79
  - name: Prepare Flutter iOS project
63
80
  if: ${{ steps.flutter.outputs.enabled == 'true' }}
64
81
  shell: bash