From b84435d7f6efdd058c1d5b84f82daa090b9005d0 Mon Sep 17 00:00:00 2001 From: medmunds Date: Wed, 8 Feb 2023 12:58:16 -0800 Subject: [PATCH] CI: update job output mechanism GH workflow changed job outputs from `echo ::set-output` to appending to `$GITHUB_OUTPUT` file. tox-gh-matrix 0.2.0 supports new mechanism --- .github/workflows/release.yml | 6 +++--- .github/workflows/test.yml | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 749da06..39f6dbd 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -40,9 +40,9 @@ jobs: echo "::error ::package version '$TAG' does not match git tag '$GIT_TAG'" exit 1 fi - echo "::set-output name=version::$VERSION" - echo "::set-output name=tag::$TAG" - echo "::set-output name=anchor::${TAG//[^[:alnum:]]/-}" + echo "version=$VERSION" >> $GITHUB_OUTPUT + echo "tag=$TAG" >> $GITHUB_OUTPUT + echo "anchor=${TAG//[^[:alnum:]]/-}" >> $GITHUB_OUTPUT - name: Install build requirements run: | diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 8ba0f8b..5fff326 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -21,7 +21,7 @@ jobs: uses: actions/checkout@v3 - name: Install tox-gh-matrix run: | - python -m pip install 'tox<4' 'tox-gh-matrix<0.2' + python -m pip install 'tox<4' 'tox-gh-matrix<0.3' python -m tox --version - name: Generate tox envlist id: generate-envlist