[skip ci] Delete workflow runs
This commit is contained in:
@@ -29,7 +29,7 @@ function checkVersionExit() {
|
|||||||
if [[ $max_offset > $offset ]]; then
|
if [[ $max_offset > $offset ]]; then
|
||||||
offset=$(expr $offset + 1)
|
offset=$(expr $offset + 1)
|
||||||
echo "retry with offset $offset"
|
echo "retry with offset $offset"
|
||||||
fetchVersion
|
fetchExitVersion
|
||||||
else
|
else
|
||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
|
|||||||
@@ -40,3 +40,10 @@ jobs:
|
|||||||
*cronet.json
|
*cronet.json
|
||||||
*updateLog.md
|
*updateLog.md
|
||||||
gradle.properties
|
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
|
||||||
|
|||||||
@@ -103,6 +103,13 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
name: legado.${{ env.product }}.${{ env.type }}
|
name: legado.${{ env.product }}.${{ env.type }}
|
||||||
path: ${{ github.workspace }}/apk/*.apk
|
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:
|
lanzou:
|
||||||
needs: [ prepare, build ]
|
needs: [ prepare, build ]
|
||||||
|
|||||||
Reference in New Issue
Block a user