mirror of
https://github.com/pyTooling/Actions.git
synced 2026-02-12 02:56:56 +08:00
UnitTesting: fix artifact upload condition
This commit is contained in:
2
.github/workflows/UnitTesting.yml
vendored
2
.github/workflows/UnitTesting.yml
vendored
@@ -49,7 +49,7 @@ jobs:
|
|||||||
python -m pytest -rA tests/unit $PYTEST_ARGS --color=yes
|
python -m pytest -rA tests/unit $PYTEST_ARGS --color=yes
|
||||||
|
|
||||||
- name: 📤 Upload 'TestReport.xml' artifact
|
- name: 📤 Upload 'TestReport.xml' artifact
|
||||||
if: inputs.TestReport == 'true'
|
if: inputs.artifact != ''
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: ${{ inputs.artifact }}-${{ matrix.python }}
|
name: ${{ inputs.artifact }}-${{ matrix.python }}
|
||||||
|
|||||||
Reference in New Issue
Block a user