Skip to content

Commit

Permalink
Add clear cache workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
dzmitryhil committed May 3, 2024
1 parent 9b75717 commit bbd28f3
Showing 1 changed file with 12 additions and 8 deletions.
20 changes: 12 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,18 @@
name: ci

# FIXME remove and uncomment !!!
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
schedule:
- cron: '0 1 * * 1' # At 01:00 on Monday
workflow_dispatch:

#on:
# push:
# branches: [ master ]
# pull_request:
# branches: [ master ]
# schedule:
# - cron: '0 1 * * 1' # At 01:00 on Monday
# workflow_dispatch:

jobs:
ci:
strategy:
Expand Down Expand Up @@ -118,8 +123,7 @@ jobs:
echo "date=$(/bin/date -u "+%Y-%U")" >> $GITHUB_OUTPUT
shell: bash
- name: Set docker cache
uses: satackey/[email protected]
continue-on-error: true
uses: ScribeMD/[email protected]
with:
key: ${{ runner.os }}-docker-${{ steps.get-year-week.outputs.date }} # year-week key
- name: Prepare dependencies
Expand Down

0 comments on commit bbd28f3

Please sign in to comment.