mirror of
https://github.com/actions/cache.git
synced 2025-06-23 10:58:03 +02:00
📝 #1045 update using the set-output
command is deprecated
This commit is contained in:
@ -145,7 +145,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
|
||||
|
Reference in New Issue
Block a user