diff --git a/.github/workflows/tmp-chatgpt-apk-fetch.yml b/.github/workflows/tmp-chatgpt-apk-fetch.yml new file mode 100644 index 0000000..47625d8 --- /dev/null +++ b/.github/workflows/tmp-chatgpt-apk-fetch.yml @@ -0,0 +1,32 @@ +name: Temporary ChatGPT APK Fetch + +on: + pull_request: + branches: + - main + +permissions: + contents: read + +jobs: + fetch-apk: + runs-on: ubuntu-latest + steps: + - name: Download latest release APK + env: + GH_TOKEN: ${{ github.token }} + run: | + gh release download --repo "$GITHUB_REPOSITORY" --pattern "HyperBridge-0.5.9-sykeptical-release.apk" --dir . + test -s HyperBridge-0.5.9-sykeptical-release.apk + sha256sum HyperBridge-0.5.9-sykeptical-release.apk > SHA256.txt + echo "ready" + + - name: Upload APK artifact + uses: actions/upload-artifact@v4 + with: + name: hyperbridge-0.5.9-apk + path: | + HyperBridge-0.5.9-sykeptical-release.apk + SHA256.txt + if-no-files-found: error + retention-days: 1