更新Actions
This commit is contained in:
parent
c786d9a0e4
commit
01fa3eade2
@ -4,7 +4,7 @@ contact_links:
|
|||||||
url: https://github.com/tachiyomiorg/tachiyomi/issues/new/choose
|
url: https://github.com/tachiyomiorg/tachiyomi/issues/new/choose
|
||||||
about: Issues and requests about the app itself should be opened in the tachiyomi repository instead
|
about: Issues and requests about the app itself should be opened in the tachiyomi repository instead
|
||||||
- name: 📦 Tachiyomi official extensions
|
- name: 📦 Tachiyomi official extensions
|
||||||
url: https://tachiyomi.org/extensions
|
url: https://git.yutou233.cn/yutou/extensions
|
||||||
about: List of all available official extensions with download links
|
about: List of all available official extensions with download links
|
||||||
- name: 🖥️ Tachiyomi website
|
- name: 🖥️ Tachiyomi website
|
||||||
url: https://tachiyomi.org/help/
|
url: https://tachiyomi.org/help/
|
||||||
|
@ -3,6 +3,6 @@
|
|||||||
"config:base"
|
"config:base"
|
||||||
],
|
],
|
||||||
"includePaths": [
|
"includePaths": [
|
||||||
".github/**"
|
".gitea/**"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -4,10 +4,10 @@ on:
|
|||||||
pull_request:
|
pull_request:
|
||||||
paths-ignore:
|
paths-ignore:
|
||||||
- '**.md'
|
- '**.md'
|
||||||
- '.github/workflows/issue_moderator.yml'
|
- '.gitea/workflows/issue_moderator.yml'
|
||||||
|
|
||||||
concurrency:
|
concurrency:
|
||||||
group: ${{ github.workflow }}-${{ github.event.pull_request.number }}
|
group: ${{ gitea.workflow }}-${{ gitea.event.pull_request.number }}
|
||||||
cancel-in-progress: true
|
cancel-in-progress: true
|
||||||
|
|
||||||
env:
|
env:
|
||||||
@ -51,7 +51,7 @@ jobs:
|
|||||||
isIndividualChanged=1
|
isIndividualChanged=1
|
||||||
elif [[ ${changedFile} == multisrc/* ]]; then
|
elif [[ ${changedFile} == multisrc/* ]]; then
|
||||||
isMultisrcChanged=1
|
isMultisrcChanged=1
|
||||||
elif [[ ${changedFile} == .github/workflows/issue_moderator.yml ]]; then
|
elif [[ ${changedFile} == .gitea/workflows/issue_moderator.yml ]]; then
|
||||||
true
|
true
|
||||||
elif [[ ${changedFile} == *.md ]]; then
|
elif [[ ${changedFile} == *.md ]]; then
|
||||||
true
|
true
|
||||||
|
@ -6,10 +6,10 @@ on:
|
|||||||
- main
|
- main
|
||||||
paths-ignore:
|
paths-ignore:
|
||||||
- '**.md'
|
- '**.md'
|
||||||
- '.github/workflows/issue_moderator.yml'
|
- '.gitea/workflows/issue_moderator.yml'
|
||||||
|
|
||||||
concurrency:
|
concurrency:
|
||||||
group: ${{ github.workflow }}
|
group: ${{ gitea.workflow }}
|
||||||
cancel-in-progress: true
|
cancel-in-progress: true
|
||||||
|
|
||||||
env:
|
env:
|
||||||
@ -108,7 +108,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Upload APKs (chunk ${{ matrix.chunk }})
|
- name: Upload APKs (chunk ${{ matrix.chunk }})
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
if: "github.repository == 'keiyoushi/extensions-source'"
|
if: "gitea.repository == 'keiyoushi/extensions-source'"
|
||||||
with:
|
with:
|
||||||
name: "multisrc-apks-${{ matrix.chunk }}"
|
name: "multisrc-apks-${{ matrix.chunk }}"
|
||||||
path: "**/*.apk"
|
path: "**/*.apk"
|
||||||
@ -150,7 +150,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Upload APKs (chunk ${{ matrix.chunk }})
|
- name: Upload APKs (chunk ${{ matrix.chunk }})
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
if: "github.repository == 'keiyoushi/extensions-source'"
|
if: "gitea.repository == 'keiyoushi/extensions-source'"
|
||||||
with:
|
with:
|
||||||
name: "individual-apks-${{ matrix.chunk }}"
|
name: "individual-apks-${{ matrix.chunk }}"
|
||||||
path: "**/*.apk"
|
path: "**/*.apk"
|
||||||
@ -164,7 +164,7 @@ jobs:
|
|||||||
needs:
|
needs:
|
||||||
- build_multisrc
|
- build_multisrc
|
||||||
- build_individual
|
- build_individual
|
||||||
if: "github.repository == 'keiyoushi/extensions-source'"
|
if: "gitea.repository == 'keiyoushi/extensions-source'"
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Download APK artifacts
|
- name: Download APK artifacts
|
||||||
@ -187,11 +187,11 @@ jobs:
|
|||||||
- name: Create repo artifacts
|
- name: Create repo artifacts
|
||||||
run: |
|
run: |
|
||||||
cd main
|
cd main
|
||||||
./.github/scripts/move-apks.sh
|
./.gitea/scripts/move-apks.sh
|
||||||
INSPECTOR_LINK="$(curl -s "https://api.github.com/repos/tachiyomiorg/tachiyomi-extensions-inspector/releases/latest" | jq -r '.assets[0].browser_download_url')"
|
INSPECTOR_LINK="$(curl -s "https://api.gitea.com/repos/tachiyomiorg/tachiyomi-extensions-inspector/releases/latest" | jq -r '.assets[0].browser_download_url')"
|
||||||
curl -L "$INSPECTOR_LINK" -o ./Inspector.jar
|
curl -L "$INSPECTOR_LINK" -o ./Inspector.jar
|
||||||
java -jar ./Inspector.jar "apk" "output.json" "tmp"
|
java -jar ./Inspector.jar "apk" "output.json" "tmp"
|
||||||
./.github/scripts/create-repo.sh
|
./.gitea/scripts/create-repo.sh
|
||||||
|
|
||||||
- name: Checkout repo branch
|
- name: Checkout repo branch
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
@ -204,4 +204,4 @@ jobs:
|
|||||||
- name: Deploy repo
|
- name: Deploy repo
|
||||||
run: |
|
run: |
|
||||||
cd repo
|
cd repo
|
||||||
../main/.github/scripts/commit-repo.sh
|
../main/.gitea/scripts/commit-repo.sh
|
||||||
|
Loading…
x
Reference in New Issue
Block a user