actions/upload-artifact: use failure()
This commit is contained in:
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
@@ -50,7 +50,7 @@ jobs:
|
||||
run: ./gradlew build
|
||||
|
||||
- name: Upload Test Report
|
||||
if: ${{ cancelled() }}
|
||||
if: ${{ failure() }}
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: reports
|
||||
|
||||
Reference in New Issue
Block a user