mirror of
https://github.com/pacnpal/django-anymail.git
synced 2025-12-20 03:41:05 -05:00
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:
6
.github/workflows/release.yml
vendored
6
.github/workflows/release.yml
vendored
@@ -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: |
|
||||||
|
|||||||
2
.github/workflows/test.yml
vendored
2
.github/workflows/test.yml
vendored
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user