gowalk-cicd 1.0.25 → 1.0.26

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
@@ -145,6 +145,26 @@ Before building, the Android job caps `-Xmx` at 4 GB and `MaxMetaspaceSize` at
145
145
  2 GB in the checkout, with a `::warning::` naming the original value. Projects
146
146
  already at or below those numbers are left untouched. Linux only.
147
147
 
148
+ ### When Play will not accept a release for review
149
+
150
+ Once an app has changes that Google requires a person to submit — most often
151
+ after a policy rejection — the API refuses to commit them:
152
+
153
+ ```
154
+ Changes cannot be sent for review automatically. Please set the query parameter
155
+ changesNotSentForReview to true. Once committed, the changes in this edit can be
156
+ sent for review from the Google Play Console UI.
157
+ ```
158
+
159
+ That fails the whole upload, so the bundle you just built never reaches Play at
160
+ all. The retry re-uploads with `changesNotSentForReview`, which lands the bundle
161
+ and leaves it waiting, then emits a `::warning::` naming the package. Someone
162
+ then presses **Send changes for review** on that app's Publishing overview page.
163
+ There is no API for that press — it is the one step Google deliberately reserves
164
+ for a human, and no amount of tooling removes it.
165
+
166
+ In the ordinary case the first upload submits normally and the retry is skipped.
167
+
148
168
  ### Google Play upload retry
149
169
 
150
170
  A Play edit is a short-lived server-side object, and an AAB upload that runs
@@ -1 +1 @@
1
- 1.0.25
1
+ 1.0.26
@@ -1 +1 @@
1
- 1.0.25
1
+ 1.0.26
@@ -1 +1 @@
1
- 1.0.25
1
+ 1.0.26
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gowalk-cicd",
3
- "version": "1.0.25",
3
+ "version": "1.0.26",
4
4
  "description": "Zero-config GitHub Actions delivery for iOS TestFlight and Android Google Play.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -287,7 +287,20 @@ jobs:
287
287
  # release. Empty when the directory is absent — the action skips it.
288
288
  whatsNewDirectory: ${{ hashFiles('distribution/whatsnew/**') != '' && 'distribution/whatsnew' || '' }}
289
289
 
290
- - name: Retry Google Play upload
290
+ # The retry serves two different failures, and both need a fresh edit:
291
+ # * the edit expired mid-upload (a large bundle on a slow runner), and
292
+ # * Play refused to auto-submit: "Changes cannot be sent for review
293
+ # automatically. Please set changesNotSentForReview to true." Play returns
294
+ # this once an app has changes a human must submit — after a policy
295
+ # rejection, for instance — and it fails the whole upload, so the built
296
+ # bundle never lands at all.
297
+ # Retrying with changesNotSentForReview gets the bundle onto Play either way.
298
+ # In the ordinary case the first attempt already submitted it and this is
299
+ # skipped; in the refused case the bundle is uploaded and waits for someone to
300
+ # press "Send changes for review" in Play Console, which is the only thing
301
+ # Google will not let a tool do.
302
+ - name: Retry Google Play upload without auto-submit
303
+ id: play-upload-retry
291
304
  if: ${{ steps.mode.outputs.mode == 'local' && steps.play.outputs.ready == 'true' && steps.play-upload.outcome == 'failure' }}
292
305
  uses: r0adkll/upload-google-play@e738b9dd8f2476ea806d921b64aacd24f34515a5 # v1.1.5
293
306
  with:
@@ -298,3 +311,13 @@ jobs:
298
311
  status: ${{ vars.GOOGLE_PLAY_STATUS || 'completed' }}
299
312
  userFraction: ${{ vars.GOOGLE_PLAY_STATUS == 'inProgress' && (vars.GOOGLE_PLAY_USER_FRACTION || '0.2') || '' }}
300
313
  whatsNewDirectory: ${{ hashFiles('distribution/whatsnew/**') != '' && 'distribution/whatsnew' || '' }}
314
+ changesNotSentForReview: true
315
+
316
+ - name: Say what still needs a human
317
+ if: ${{ always() && steps.play-upload-retry.outcome == 'success' }}
318
+ shell: bash
319
+ run: |
320
+ echo "::warning::Play would not accept this release for review automatically, so it was \
321
+ uploaded without being submitted. Open Play Console for \
322
+ ${{ steps.android.outputs.package-name }} and press 'Send changes for review' on the \
323
+ Publishing overview page. This is normal after a policy rejection."