Skip to content

Commit 7b24dae

Browse files
author
arp
committed
FIX: make the php doc cache daily instead of weekly
1 parent 69956ae commit 7b24dae

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/continuous-integration.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,16 @@ jobs:
3131
coverage: "pcov"
3232
php-version: "${{ matrix.php-version }}"
3333

34+
- name: "Get current date for the daily cache"
35+
id: 'date'
36+
run: echo "::set-output name=date::$(date +'%Y-%m-%d')"
37+
3438
- name: "Cache the php documentation"
3539
id: cache-php-doc
3640
uses: "actions/cache@v1"
3741
with:
3842
path: "generator/doc/doc-en"
39-
key: "php-doc"
43+
key: php-doc-${{ steps.date.outputs.date }}
4044

4145
- name: "Check out salathe/phpdoc-base"
4246
uses: "actions/checkout@v2"

0 commit comments

Comments
 (0)