From 65961683fd19cf249920c4e88342f8d2d1e0dc4a Mon Sep 17 00:00:00 2001 From: Arun Date: Tue, 26 Dec 2023 22:42:36 -0800 Subject: [PATCH] Use GITHUB_OUTPUT envvar instead of set-output command as the latter is deprecated --- .github/workflows/ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 549921226..d287552dd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -53,7 +53,7 @@ jobs: - name: Get Composer Cache Directory id: composer-cache run: | - echo "::set-output name=dir::$(composer config cache-files-dir)" + echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT - uses: actions/cache@v3 with: @@ -105,7 +105,7 @@ jobs: - name: Get Composer Cache Directory id: composer-cache run: | - echo "::set-output name=dir::$(composer config cache-files-dir)" + echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT - uses: actions/cache@v3 with: path: ${{ steps.composer-cache.outputs.dir }} @@ -138,7 +138,7 @@ jobs: github-token: ${{ secrets.GITHUB_TOKEN }} publish: - # Doesn't actually publish. The publish happens via a packagist webhook configured in the Github UI. But we still display a message here + # Doesn't actually publish. The publish happens via a packagist webhook configured in the Github UI. But we still display a message here name: Publish if: >- (github.event_name == 'workflow_dispatch' || github.event_name == 'push') &&