Use new cache key in main workflow

This commit is contained in:
mtkennerly 2022-10-31 11:39:18 +08:00
parent 306b2cb261
commit d32ebc3fe2
No known key found for this signature in database
GPG key ID: E764BE00BE6E6408
2 changed files with 8 additions and 8 deletions

View file

@ -18,9 +18,9 @@ jobs:
- uses: actions/cache@v3 - uses: actions/cache@v3
with: with:
path: data/wiki-meta-cache.yaml path: data/wiki-meta-cache.yaml
key: wiki-meta-cache-${{ github.run_id }} key: wiki-meta-cache-v2-${{ github.run_id }}
restore-keys: | restore-keys: |
wiki-meta-cache wiki-meta-cache-v2
- run: | - run: |
npm install npm install
npm run recent npm run recent

View file

@ -1,10 +1,10 @@
on: on:
workflow_dispatch: workflow_dispatch: ~
inputs: # inputs:
timestamp: # timestamp:
description: 'Timestamp to inject into wiki-meta-cache.yaml. Example: 2022-10-30T19:37:23.138Z' # description: 'Timestamp to inject into wiki-meta-cache.yaml. Example: 2022-10-30T19:37:23.138Z'
required: true # required: true
type: string # type: string
name: Set lastCheckedRecentChanges name: Set lastCheckedRecentChanges