Replace deprecated command with environment file in example documentation

This commit is contained in:
github-actions 2022-11-21 10:30:11 +01:00
parent 6babf202a4
commit c16522c3c7
3 changed files with 12 additions and 13 deletions

View file

@ -135,8 +135,8 @@ Additionally, you can use arbitrary command output in a cache key, such as a dat
# http://man7.org/linux/man-pages/man1/date.1.html
- name: Get Date
id: get-date
run: |
echo "::set-output name=date::$(/bin/date -u "+%Y%m%d")"
run: echo "date=$(/bin/date -u "+%Y%m%d")" >> $GITHUB_OUTPUT
shell: bash
- uses: actions/cache@v3