Allow passing timestamp to run step
This commit is contained in:
parent
7a479a4187
commit
f0061e98e2
1 changed files with 4 additions and 2 deletions
6
.github/workflows/set-timestamp.yaml
vendored
6
.github/workflows/set-timestamp.yaml
vendored
|
@ -9,7 +9,7 @@ on:
|
|||
name: Set lastCheckedRecentChanges
|
||||
|
||||
jobs:
|
||||
recent:
|
||||
set-timestamp:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
@ -22,4 +22,6 @@ jobs:
|
|||
restore-keys: |
|
||||
wiki-meta-cache
|
||||
- run: |
|
||||
echo "lastCheckedRecentChanges: '${{ inputs.timestamp }}'" > data/wiki-meta-cache.yaml
|
||||
echo "lastCheckedRecentChanges: '$TIMESTAMP'" > data/wiki-meta-cache.yaml
|
||||
env:
|
||||
TIMESTAMP: ${{ inputs.timestamp }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue