Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
muzimuzhi committed Dec 27, 2024
1 parent 914c9bc commit d23cc3d
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/update-cache.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
name: Update cache

on:
# schedule:
# # at 11:31 UTC (19:31 CST/UTC +8) on every Friday
# # https://crontab.guru/#31_11_*_*_5
# - cron: "31 11 * * 5"
pull_request:
schedule:
# at 11:31 UTC (19:31 CST/UTC +8) on every Friday
# https://crontab.guru/#31_11_*_*_5
- cron: "31 11 * * 5"
workflow_dispatch:

jobs:
Expand All @@ -22,7 +21,7 @@ jobs:
gh cache list --key setup-texlive --json key --jq '.[].key')
for key in $cache_keys; do
echo "Deleting cache $key"
gh cache delete $key
gh cache delete "$key"
done
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit d23cc3d

Please sign in to comment.