Skip to content

Commit 0b89f48

Browse files
graycreateclaude
andcommitted
test: isolate download job for testing Google Play API
- Remove job dependencies to test download independently - Hardcode v2.3.3 version values for testing existing APK - This is a temporary test configuration 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
1 parent 74e4147 commit 0b89f48

File tree

1 file changed

+8
-10
lines changed

1 file changed

+8
-10
lines changed

.github/workflows/release.yml

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -385,9 +385,7 @@ jobs:
385385
386386
download-signed-apk:
387387
name: Download Google Play Signed APK
388-
needs: [prepare, play-store-upload]
389388
runs-on: ubuntu-latest
390-
if: success()
391389

392390
steps:
393391
- name: Checkout code
@@ -419,8 +417,8 @@ jobs:
419417
env:
420418
PLAY_STORE_SERVICE_ACCOUNT_JSON: ${{ secrets.PLAY_STORE_SERVICE_ACCOUNT_JSON }}
421419
run: |
422-
VERSION_NAME="${{ needs.prepare.outputs.version }}"
423-
VERSION_CODE="${{ needs.prepare.outputs.version_code }}"
420+
VERSION_NAME="v2.3.3"
421+
VERSION_CODE="233"
424422
PACKAGE_NAME="me.ghui.v2er"
425423
426424
# Create Python script to download signed universal APK
@@ -572,8 +570,8 @@ jobs:
572570
if: steps.download-apk.outputs.found == 'true'
573571
id: play-link
574572
run: |
575-
VERSION_NAME="${{ needs.prepare.outputs.version }}"
576-
VERSION_CODE="${{ needs.prepare.outputs.version_code }}"
573+
VERSION_NAME="v2.3.3"
574+
VERSION_CODE="233"
577575
578576
# Create info file about Google Play signing
579577
cat > "v2er-${VERSION_NAME}_google_play_signed_info.txt" << EOF
@@ -601,7 +599,7 @@ jobs:
601599
if: steps.download-apk.outputs.found == 'true'
602600
uses: softprops/action-gh-release@v2
603601
with:
604-
tag_name: ${{ needs.prepare.outputs.version }}
602+
tag_name: v2.3.3
605603
files: |
606604
${{ steps.download-apk.outputs.apk_path }}
607605
${{ steps.play-link.outputs.info_path }}
@@ -616,9 +614,9 @@ jobs:
616614
if [ "${{ steps.download-apk.outputs.found }}" = "true" ]; then
617615
echo "✅ **Universal APK generated successfully**" >> $GITHUB_STEP_SUMMARY
618616
echo "" >> $GITHUB_STEP_SUMMARY
619-
echo "- **Version**: ${{ needs.prepare.outputs.version }}" >> $GITHUB_STEP_SUMMARY
620-
echo "- **Version Code**: ${{ needs.prepare.outputs.version_code }}" >> $GITHUB_STEP_SUMMARY
621-
echo "- **File**: v2er-${{ needs.prepare.outputs.version }}_google_play_signed.apk" >> $GITHUB_STEP_SUMMARY
617+
echo "- **Version**: v2.3.3" >> $GITHUB_STEP_SUMMARY
618+
echo "- **Version Code**: 233" >> $GITHUB_STEP_SUMMARY
619+
echo "- **File**: v2er-v2.3.3_google_play_signed.apk" >> $GITHUB_STEP_SUMMARY
622620
echo "" >> $GITHUB_STEP_SUMMARY
623621
echo "### Notes" >> $GITHUB_STEP_SUMMARY
624622
echo "- This APK is generated from the AAB uploaded to Google Play" >> $GITHUB_STEP_SUMMARY

0 commit comments

Comments
 (0)