From 72ff8b6a92dd4056e7504b8a10a025a1dfe0ea6d Mon Sep 17 00:00:00 2001 From: Santiago Soler Date: Thu, 5 Sep 2024 13:35:41 -0700 Subject: [PATCH] Update how output variables are stored in Actions (#425) Replace the deprecated `set-output` in GitHub Actions for concatenating name and values into the `GITHUB_OUTPUT` env variable. --- .github/workflows/docs.yml | 3 ++- .github/workflows/test.yml | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index a1a3eefb..f56b8551 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -83,7 +83,8 @@ jobs: - name: Get the pip cache folder id: pip-cache run: | - echo "::set-output name=dir::$(pip cache dir)" + echo "dir=$(pip cache dir)" >> $GITHUB_OUTPUT + - name: Setup caching for pip packages uses: actions/cache@v4 diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 0adb0f7f..162f73aa 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -124,7 +124,7 @@ jobs: - name: Get the pip cache folder id: pip-cache run: | - echo "::set-output name=dir::$(pip cache dir)" + echo "dir=$(pip cache dir)" >> $GITHUB_OUTPUT - name: Setup caching for pip packages uses: actions/cache@v4