Update .forgejo/workflows/package-check.yml
This commit is contained in:
parent
513ab1587e
commit
dfe4c85403
1 changed files with 2 additions and 1 deletions
|
@ -45,6 +45,7 @@ jobs:
|
|||
[ -f "$FILE" ] && LAST=$(cat "$FILE") || LAST="0"
|
||||
echo "Last rebuild: $LAST"
|
||||
[ $(( $(date +%s)/86400 - $LAST )) -gt 3 ] && echo "UPDATE=true" >> $GITHUB_ENV
|
||||
|
||||
- name: Start dockerd
|
||||
if: env.UPDATE == 'true'
|
||||
shell: sh
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue