File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -261,12 +261,12 @@ jobs:
261
261
- name : Get date
262
262
id : get-date
263
263
run : |
264
- echo "date =$(get-date -format "yyyyMMdd")" >> $ GITHUB_OUTPUT
264
+ echo "DATE =$(powershell get-date -format "yyyyMMdd")" | Out-File -FilePath $env: GITHUB_OUTPUT -Encoding utf8 -Append
265
265
- name : Get cached database
266
266
uses : actions/cache@v3
267
267
with :
268
268
path : ~/.cache/cve-bin-tool
269
- key : ${{ runner.os }}-cve-bin-tool-${{ steps.get-date.outputs.date }}
269
+ key : ${{ runner.os }}-cve-bin-tool-${{ steps.get-date.outputs.DATE }}
270
270
- name : Install cve-bin-tool
271
271
run : |
272
272
python -m pip install --upgrade pip
@@ -337,12 +337,12 @@ jobs:
337
337
- name : Get date
338
338
id : get-date
339
339
run : |
340
- echo "date =$(get-date -format "yyyyMMdd")" >> $ GITHUB_OUTPUT
340
+ echo "DATE =$(powershell get-date -format "yyyyMMdd")" | Out-File -FilePath $env: GITHUB_OUTPUT -Encoding utf8 -Append
341
341
- name : Get cached database
342
342
uses : actions/cache@v3
343
343
with :
344
344
path : ~/.cache/cve-bin-tool
345
- key : ${{ runner.os }}-cve-bin-tool-${{ steps.get-date.outputs.date }}
345
+ key : ${{ runner.os }}-cve-bin-tool-${{ steps.get-date.outputs.DATE }}
346
346
- name : Install cve-bin-tool
347
347
run : |
348
348
python -m pip install --upgrade pip
Original file line number Diff line number Diff line change @@ -57,11 +57,11 @@ jobs:
57
57
- name : Get date
58
58
id : get-date
59
59
run : |
60
- echo "date =$(get-date -format "yyyyMMdd")" >> $ GITHUB_OUTPUT
60
+ echo "DATE =$(powershell get-date -format "yyyyMMdd")" | Out-File -FilePath $env: GITHUB_OUTPUT -Encoding utf8 -Append
61
61
- uses : actions/cache@v3
62
62
with :
63
63
path : ~/.cache/cve-bin-tool
64
- key : ${{ runner.os }}-cve-bin-tool-${{ steps.get-date.outputs.date }}
64
+ key : ${{ runner.os }}-cve-bin-tool-${{ steps.get-date.outputs.DATE }}
65
65
- name : Install cve-bin-tool
66
66
run : |
67
67
python -m pip install --upgrade pip
You can’t perform that action at this time.
0 commit comments