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'"
|
||||
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: |
|
||||
|
||||
2
.github/workflows/test.yml
vendored
2
.github/workflows/test.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user