File tree 1 file changed +17
-21
lines changed
1 file changed +17
-21
lines changed Original file line number Diff line number Diff line change @@ -191,19 +191,7 @@ jobs:
191
191
body_path : release.txt
192
192
files : ${{ env.FIRMWARE }}/*
193
193
194
- - name : Bark Action
195
- uses : shink/bark-action@v2
196
- with :
197
- # Secret key
198
- key : ${{ secrets.KEY }}
199
- # Bark server hostname
200
- host : ${{ secrets.HOST }}
201
- # Message title
202
- title : ImmortalWrt
203
- # Message body
204
- body : ImmortalWrt's X86 firmware has been compiled successfully!
205
- isArchive : 1
206
- # url: ${{ steps.cowtransfer.outputs.url }}
194
+
207
195
208
196
- name : 删除运行记录
209
197
uses : Mattraks/delete-workflow-runs@main
@@ -212,20 +200,28 @@ jobs:
212
200
keep_minimum_runs : 1
213
201
token : ${{ secrets.GITHUB_TOKEN }}
214
202
215
- - name : Remove old Releases
203
+
204
+
205
+ - name : 删除自动发布的旧固件
216
206
uses : dev-drprasad/delete-older-releases@master
217
207
if : env.UPLOAD_RELEASE == 'true' && !cancelled()
218
208
with :
219
- keep_latest : 8
209
+ keep_latest : 4
220
210
delete_tags : true
221
211
env :
222
212
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
223
213
224
- - name : 删除自动发布的旧固件
225
- uses : dev-drprasad/delete-older-releases@master
226
- if : env.UPLOAD_RELEASE == 'true' && !cancelled()
214
+ - name : Bark Action
215
+ uses : shink/bark-action@v2
227
216
with :
228
- keep_latest : 4
229
- delete_tags : true
230
-
217
+ # Secret key
218
+ key : ${{ secrets.KEY }}
219
+ # Bark server hostname
220
+ host : ${{ secrets.HOST }}
221
+ # Message title
222
+ title : ImmortalWrt
223
+ # Message body
224
+ body : ImmortalWrt's X86 firmware has been compiled successfully!
225
+ isArchive : 1
226
+ # url: ${{ steps.cowtransfer.outputs.url }}
231
227
You can’t perform that action at this time.
0 commit comments