Skip to content

Commit 5c09b10

Browse files
graycreateclaude
andcommitted
test: make download job independent for testing smart check
- Remove job dependencies temporarily - Use hardcoded version 2.3.3 (233) which exists in Google Play - This should demonstrate immediate APK detection and skip waiting - Will revert after testing 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
1 parent 50a115b commit 5c09b10

File tree

1 file changed

+16
-11
lines changed

1 file changed

+16
-11
lines changed

.github/workflows/release.yml

Lines changed: 16 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,8 @@ jobs:
263263
- name: Create Release
264264
uses: softprops/action-gh-release@v2
265265
with:
266-
tag_name: ${{ needs.prepare.outputs.version }}
266+
# TESTING: Use hardcoded tag
267+
tag_name: v2.3.3-test
267268
name: Release ${{ needs.prepare.outputs.version }}
268269
body_path: CHANGELOG.md
269270
draft: false
@@ -385,8 +386,9 @@ jobs:
385386
386387
download-signed-apk:
387388
name: Download Google Play Signed APK
388-
needs: [prepare, play-store-upload]
389-
if: ${{ vars.ENABLE_PLAY_STORE_UPLOAD == 'true' && vars.ENABLE_SIGNING == 'true' }}
389+
# TESTING: Temporarily remove dependencies for testing
390+
# needs: [prepare, play-store-upload]
391+
# if: ${{ vars.ENABLE_PLAY_STORE_UPLOAD == 'true' && vars.ENABLE_SIGNING == 'true' }}
390392
runs-on: ubuntu-latest
391393

392394
steps:
@@ -520,8 +522,9 @@ jobs:
520522
env:
521523
PLAY_STORE_SERVICE_ACCOUNT_JSON: ${{ secrets.PLAY_STORE_SERVICE_ACCOUNT_JSON }}
522524
run: |
523-
VERSION_NAME="${{ needs.prepare.outputs.version }}"
524-
VERSION_CODE="${{ needs.prepare.outputs.version_code }}"
525+
# TESTING: Use hardcoded version 2.3.3 which exists in Google Play
526+
VERSION_NAME="v2.3.3"
527+
VERSION_CODE="233"
525528
PACKAGE_NAME="me.ghui.v2er"
526529
527530
# Create Python script to download signed universal APK
@@ -710,8 +713,9 @@ jobs:
710713
if: steps.download-apk.outputs.found == 'true'
711714
id: play-link
712715
run: |
713-
VERSION_NAME="${{ needs.prepare.outputs.version }}"
714-
VERSION_CODE="${{ needs.prepare.outputs.version_code }}"
716+
# TESTING: Use hardcoded version 2.3.3
717+
VERSION_NAME="v2.3.3"
718+
VERSION_CODE="233"
715719
716720
# Create info file about Google Play signing
717721
cat > "v2er-${VERSION_NAME}_google_play_signed_info.txt" << EOF
@@ -739,7 +743,8 @@ jobs:
739743
if: steps.download-apk.outputs.found == 'true'
740744
uses: softprops/action-gh-release@v2
741745
with:
742-
tag_name: ${{ needs.prepare.outputs.version }}
746+
# TESTING: Use hardcoded tag
747+
tag_name: v2.3.3-test
743748
files: |
744749
${{ steps.download-apk.outputs.apk_path }}
745750
${{ steps.play-link.outputs.info_path }}
@@ -754,9 +759,9 @@ jobs:
754759
if [ "${{ steps.download-apk.outputs.found }}" = "true" ]; then
755760
echo "✅ **Universal APK generated successfully**" >> $GITHUB_STEP_SUMMARY
756761
echo "" >> $GITHUB_STEP_SUMMARY
757-
echo "- **Version**: ${{ needs.prepare.outputs.version }}" >> $GITHUB_STEP_SUMMARY
758-
echo "- **Version Code**: ${{ needs.prepare.outputs.version_code }}" >> $GITHUB_STEP_SUMMARY
759-
echo "- **File**: v2er-${{ needs.prepare.outputs.version }}_google_play_signed.apk" >> $GITHUB_STEP_SUMMARY
762+
echo "- **Version**: v2.3.3" >> $GITHUB_STEP_SUMMARY
763+
echo "- **Version Code**: 233" >> $GITHUB_STEP_SUMMARY
764+
echo "- **File**: v2er-v2.3.3_google_play_signed.apk" >> $GITHUB_STEP_SUMMARY
760765
echo "" >> $GITHUB_STEP_SUMMARY
761766
echo "### Notes" >> $GITHUB_STEP_SUMMARY
762767
echo "- This APK is generated from the AAB uploaded to Google Play" >> $GITHUB_STEP_SUMMARY

0 commit comments

Comments
 (0)