From ae6248e27ef784a7a967f9aa09d022d8e1d294f3 Mon Sep 17 00:00:00 2001 From: El RIDO Date: Wed, 26 Oct 2022 05:48:39 +0200 Subject: [PATCH 1/2] handle github actions deprecation warnings see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/ --- .github/workflows/tests.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 2b1194e1..721c729f 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -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 From ba4878056b7e3df7c7d0e9e11389d30b81060b87 Mon Sep 17 00:00:00 2001 From: El RIDO Date: Wed, 26 Oct 2022 05:51:36 +0200 Subject: [PATCH 2/2] misleading documentation --- .github/workflows/tests.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 721c729f..e13e5364 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -65,13 +65,13 @@ jobs: - name: Get composer cache directory id: composer-cache - run: echo "{dir}={$(composer config cache-files-dir)}" >> $GITHUB_OUTPUT + 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 "{date}={$(/bin/date -u "+%Y%m%d")}" >> $GITHUB_OUTPUT + run: echo "date=$(/bin/date -u "+%Y%m%d")" >> $GITHUB_OUTPUT shell: bash - name: Cache dependencies