From 5d22fd50d91011455048be1a42c2c7ce544054bc Mon Sep 17 00:00:00 2001 From: Christian Clauss Date: Wed, 4 Dec 2024 15:22:02 +0100 Subject: [PATCH] GitHub Actions: Remove the deprecated `set-output` command ```diff - name: Get pip cache dir id: pip-cache run: | - echo "::set-output name=dir::$(pip cache dir)" + echo "{dir}={$(pip cache dir)}" >> $GITHUB_OUTPUT ``` Fixes warnings at bottom right of https://github.com/pytest-dev/unittest2pytest/actions/runs/12145268432 https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 34cae26..ba84312 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -26,7 +26,7 @@ jobs: - name: Get pip cache dir id: pip-cache run: | - echo "::set-output name=dir::$(pip cache dir)" + echo "dir=$(pip cache dir)" >> $GITHUB_OUTPUT - name: Cache uses: actions/cache@v4