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
This commit is contained in:
medmunds
2023-02-08 12:58:16 -08:00
parent 39e822321f
commit b84435d7f6
2 changed files with 4 additions and 4 deletions

View File

@@ -40,9 +40,9 @@ jobs:
echo "::error ::package version '$TAG' does not match git tag '$GIT_TAG'" echo "::error ::package version '$TAG' does not match git tag '$GIT_TAG'"
exit 1 exit 1
fi fi
echo "::set-output name=version::$VERSION" echo "version=$VERSION" >> $GITHUB_OUTPUT
echo "::set-output name=tag::$TAG" echo "tag=$TAG" >> $GITHUB_OUTPUT
echo "::set-output name=anchor::${TAG//[^[:alnum:]]/-}" echo "anchor=${TAG//[^[:alnum:]]/-}" >> $GITHUB_OUTPUT
- name: Install build requirements - name: Install build requirements
run: | run: |

View File

@@ -21,7 +21,7 @@ jobs:
uses: actions/checkout@v3 uses: actions/checkout@v3
- name: Install tox-gh-matrix - name: Install tox-gh-matrix
run: | 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 python -m tox --version
- name: Generate tox envlist - name: Generate tox envlist
id: generate-envlist id: generate-envlist