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
|
name: Set lastCheckedRecentChanges
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
recent:
|
set-timestamp:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
@ -22,4 +22,6 @@ jobs:
|
||||||
restore-keys: |
|
restore-keys: |
|
||||||
wiki-meta-cache
|
wiki-meta-cache
|
||||||
- run: |
|
- run: |
|
||||||
echo "lastCheckedRecentChanges: '${{ inputs.timestamp }}'" > data/wiki-meta-cache.yaml
|
echo "lastCheckedRecentChanges: '$TIMESTAMP'" > data/wiki-meta-cache.yaml
|
||||||
|
env:
|
||||||
|
TIMESTAMP: ${{ inputs.timestamp }}
|
||||||
|
|
Reference in a new issue