Skip to content

Commit e9b8fd6

Browse files
authored
opt
1 parent f627d39 commit e9b8fd6

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

.github/workflows/build-openwrt.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@ env:
2727
CUSTOM_PACKAGES_SH: ${{ github.workspace }}/custom-packages.sh
2828
CUSTOM_CONFIG_SH: ${{ github.workspace }}/custom-config.sh
2929
TZ: Asia/Shanghai
30+
DEVICE_NAME: unknown
31+
FILE_DATE: unknown
32+
FIRMWARE: unknown
3033

3134
jobs:
3235
build:
@@ -154,15 +157,17 @@ jobs:
154157
body_path: ${{ env.BUILD_ROOT }}/SHA256SUMS
155158

156159
- name: Delete workflow runs
160+
if: always()
157161
uses: Mattraks/delete-workflow-runs@main
158162
with:
159-
retain_days: 1
160-
keep_minimum_runs: 3
163+
retain_days: 3
164+
keep_minimum_runs: 5
161165

162166
- name: Remove old Releases
167+
if: always()
163168
uses: dev-drprasad/delete-older-releases@master
164169
with:
165-
keep_latest: 3
170+
keep_latest: 5
166171
delete_tags: true
167172
env:
168173
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)