From 67827197acc13d28a44eb817dcb0c28eaff82f42 Mon Sep 17 00:00:00 2001 From: Arun Date: Thu, 11 Jan 2024 18:26:46 -0800 Subject: [PATCH 1/2] ci: Use GITHUB_OUTPUT envvar instead of set-output command --- .github/workflows/lint.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index e629bc73..d10d187e 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -43,7 +43,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 - name: Cache Composer Directory uses: actions/cache@v2 From e0520d5e84d30a71c58f52c01d11ba2e6ad1398b Mon Sep 17 00:00:00 2001 From: Arun Date: Mon, 22 Jan 2024 17:14:59 -0800 Subject: [PATCH 2/2] Quote envvar to match documentation --- .github/workflows/lint.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index d10d187e..74148a32 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -43,7 +43,7 @@ jobs: - name: Get Composer Cache Directory id: composer-cache run: | - echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT + echo "dir=$(composer config cache-files-dir)" >> "$GITHUB_OUTPUT" - name: Cache Composer Directory uses: actions/cache@v2