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
|
@ -137,6 +137,11 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
sudo apt-get update && sudo apt install rsync -y
|
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
|
- name: Set up JDK
|
||||||
uses: https://github.com/actions/setup-java@387ac29b308b003ca37ba93a6cab5eb57c8f5f93 # v4
|
uses: https://github.com/actions/setup-java@387ac29b308b003ca37ba93a6cab5eb57c8f5f93 # v4
|
||||||
with:
|
with:
|
||||||
|
@ -149,6 +154,15 @@ jobs:
|
||||||
ref: main
|
ref: main
|
||||||
path: 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
|
- name: Checkout repo branch
|
||||||
uses: https://github.com/actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
|
uses: https://github.com/actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
|
||||||
with:
|
with:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue