From 51dfe2e3fa6e6623076135060b7023e9fa0c6488 Mon Sep 17 00:00:00 2001 From: Angel Fernando Quiroz Campos Date: Fri, 28 Oct 2022 11:26:04 -0500 Subject: [PATCH] CI: GitHub Action use GITHUB_OUTPUT See https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/ --- .github/workflows/behat.yml | 4 ++-- .github/workflows/format_code.yml | 2 +- .github/workflows/php_analysis.yml | 2 +- .github/workflows/phpunit.yml | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/behat.yml b/.github/workflows/behat.yml index 207827fc48..6bbe804da1 100644 --- a/.github/workflows/behat.yml +++ b/.github/workflows/behat.yml @@ -38,7 +38,7 @@ 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 # - name: Cache composer dependencies # uses: actions/cache@v2 @@ -66,7 +66,7 @@ jobs: - name: Get yarn cache directory id: yarn-cache-dir-path - run: echo "::set-output name=dir::$(yarn config get cacheFolder)" + run: echo "dir=$(yarn config get cacheFolder)" >> $GITHUB_OUTPUT # - name: Cache yarn dependencies # uses: actions/cache@v2 diff --git a/.github/workflows/format_code.yml b/.github/workflows/format_code.yml index 322a28e4ee..33f321ccc0 100644 --- a/.github/workflows/format_code.yml +++ b/.github/workflows/format_code.yml @@ -28,7 +28,7 @@ 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 - name: Cache composer dependencies uses: actions/cache@v2 diff --git a/.github/workflows/php_analysis.yml b/.github/workflows/php_analysis.yml index 8877917625..658a3ed24b 100644 --- a/.github/workflows/php_analysis.yml +++ b/.github/workflows/php_analysis.yml @@ -29,7 +29,7 @@ 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 - name: Cache composer dependencies uses: actions/cache@v2 diff --git a/.github/workflows/phpunit.yml b/.github/workflows/phpunit.yml index 4002840b2b..91bd829373 100644 --- a/.github/workflows/phpunit.yml +++ b/.github/workflows/phpunit.yml @@ -38,7 +38,7 @@ 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 # - name: Cache composer dependencies # uses: actions/cache@v2 @@ -63,7 +63,7 @@ jobs: - name: Get yarn cache directory id: yarn-cache-dir-path - run: echo "::set-output name=dir::$(yarn config get cacheFolder)" + run: echo "dir=$(yarn config get cacheFolder)" >> $GITHUB_OUTPUT # - name: Cache yarn dependencies # uses: actions/cache@v2