The steps context doesn't seem to work
This commit is contained in:
parent
277994e27c
commit
2e3bbef6df
1 changed files with 2 additions and 2 deletions
4
.github/workflows/build.yaml
vendored
4
.github/workflows/build.yaml
vendored
|
|
@ -63,7 +63,7 @@ jobs:
|
|||
|
||||
- name: "Upload test logs"
|
||||
uses: actions/upload-artifact@v2
|
||||
if: steps.run_tests.outcome == 'failure'
|
||||
if: failure()
|
||||
with:
|
||||
name: 'test-logs-${{ runner.os }}'
|
||||
path: 'tests/logs'
|
||||
|
|
@ -112,7 +112,7 @@ jobs:
|
|||
|
||||
- name: "Upload test logs"
|
||||
uses: actions/upload-artifact@v2
|
||||
if: steps.run_tests.outcome == 'failure'
|
||||
if: failure()
|
||||
with:
|
||||
name: 'test-logs-${{ runner.os }}'
|
||||
path: 'tests/logs'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue