mirror of
https://github.com/gedoor/legado.git
synced 2024-09-01 09:34:25 +08:00
[skip ci] Delete workflow runs
This commit is contained in:
parent
efc5bfd1e6
commit
78578207ce
2
.github/scripts/cronet.sh
vendored
2
.github/scripts/cronet.sh
vendored
@ -29,7 +29,7 @@ function checkVersionExit() {
|
||||
if [[ $max_offset > $offset ]]; then
|
||||
offset=$(expr $offset + 1)
|
||||
echo "retry with offset $offset"
|
||||
fetchVersion
|
||||
fetchExitVersion
|
||||
else
|
||||
exit
|
||||
fi
|
||||
|
7
.github/workflows/cronet.yml
vendored
7
.github/workflows/cronet.yml
vendored
@ -40,3 +40,10 @@ jobs:
|
||||
*cronet.json
|
||||
*updateLog.md
|
||||
gradle.properties
|
||||
- name: Delete workflow runs
|
||||
uses: Mattraks/delete-workflow-runs@v2
|
||||
with:
|
||||
token: ${{ github.token }}
|
||||
repository: ${{ github.repository }}
|
||||
retain_days: 2
|
||||
keep_minimum_runs: 3
|
||||
|
7
.github/workflows/test.yml
vendored
7
.github/workflows/test.yml
vendored
@ -103,6 +103,13 @@ jobs:
|
||||
with:
|
||||
name: legado.${{ env.product }}.${{ env.type }}
|
||||
path: ${{ github.workspace }}/apk/*.apk
|
||||
- name: Delete workflow runs
|
||||
uses: Mattraks/delete-workflow-runs@v2
|
||||
with:
|
||||
token: ${{ github.token }}
|
||||
repository: ${{ github.repository }}
|
||||
retain_days: 30
|
||||
keep_minimum_runs: 30
|
||||
|
||||
lanzou:
|
||||
needs: [ prepare, build ]
|
||||
|
Loading…
Reference in New Issue
Block a user