Update .github/workflows/build_push.yml
This commit is contained in:
parent
6b5807be97
commit
b172b25bb1
1 changed files with 14 additions and 0 deletions
14
.github/workflows/build_push.yml
vendored
14
.github/workflows/build_push.yml
vendored
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue