handle github actions deprecation warnings

see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
This commit is contained in:
El RIDO 2022-10-26 05:48:39 +02:00
parent 78aa70e3ab
commit ae6248e27e
No known key found for this signature in database
GPG Key ID: 0F5C940A6BD81F92

View File

@ -65,14 +65,13 @@ jobs:
- name: Get composer cache directory
id: composer-cache
run: echo "::set-output name=dir::$(composer config cache-files-dir)"
run: echo "{dir}={$(composer config cache-files-dir)}" >> $GITHUB_OUTPUT
# http://man7.org/linux/man-pages/man1/date.1.html
# https://github.com/actions/cache#creating-a-cache-key
- 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
- name: Cache dependencies