Update .github/workflows/build_push.yml
Some checks failed
CI / Prepare job (push) Successful in 15s
CI / Build individual modules (push) Successful in 2m3s
CI / Publish repo (push) Failing after 21s

This commit is contained in:
AlmightyHak 2025-05-23 00:47:03 -05:00
parent 6b5807be97
commit b172b25bb1

View file

@ -136,6 +136,11 @@ jobs:
- name: Setup rsync
run: |
sudo apt-get update && sudo apt install rsync -y
- name: Download APK artifacts
uses: https://code.forgejo.org/forgejo/download-artifact@d8d0a99033603453ad2255e58720b460a0555e1e # v4-patch
with:
path: ~/apk-artifacts
- name: Set up JDK
uses: https://github.com/actions/setup-java@387ac29b308b003ca37ba93a6cab5eb57c8f5f93 # v4
@ -148,6 +153,15 @@ jobs:
with:
ref: main
path: main
- name: Create repo artifacts
run: |
cd main
python ./.github/scripts/move-apks.py
INSPECTOR_LINK="$(curl -s "https://api.github.com/repos/aniyomiorg/aniyomi-extensions-inspector/releases/latest" | jq -r '.assets[0].browser_download_url')"
curl -L "$INSPECTOR_LINK" -o ./Inspector.jar
java -jar ./Inspector.jar "repo/apk" "output.json" "tmp"
python ./.github/scripts/create-repo.py
- name: Checkout repo branch
uses: https://github.com/actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4