mirror of
https://code.forgejo.org/actions/cache.git
synced 2025-04-23 01:03:57 +08:00
replace deprecated set-output command in workflow.yml, README and the examples file
This commit is contained in:
parent
a3f5edc237
commit
f066901d82
3 changed files with 7 additions and 7 deletions
|
@ -135,7 +135,7 @@ Additionally, you can use arbitrary command output in a cache key, such as a dat
|
|||
- name: Get Date
|
||||
id: get-date
|
||||
run: |
|
||||
echo "::set-output name=date::$(/bin/date -u "+%Y%m%d")"
|
||||
echo "date=$(/bin/date -u "+%Y%m%d")" >> $GITHUB_OUTPUT
|
||||
shell: bash
|
||||
|
||||
- uses: actions/cache@v3
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue