Skip to content

Commit 4e092d8

Browse files
author
psadi
committed
ci: schedule test
1 parent 1775b7a commit 4e092d8

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

.github/workflows/ci.yaml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ concurrency:
55

66
on:
77
schedule:
8-
- cron: "0 0 * * *"
8+
- cron: "20 4 * * *"
99
workflow_dispatch: {}
1010
pull_request:
1111
paths-ignore:
@@ -91,9 +91,10 @@ jobs:
9191

9292
- name: Clean-up Old Release Assets
9393
run: |
94-
asset_ids=$(gh release view tip --json assets --jq '.assets[].id')
95-
for asset in $asset_ids; do
96-
gh release delete-asset tip $asset -y
94+
gh release view tip --json assets --jq '.assets[].name' | while read -r asset; do
95+
if [ -n "$asset" ]; then
96+
gh release delete-asset tip "${asset}" -y
97+
fi
9798
done
9899
env:
99100
GH_TOKEN: ${{ github.token }}

0 commit comments

Comments
 (0)