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
|
run: ./gradlew build
|
||||||
|
|
||||||
- name: Upload Test Report
|
- name: Upload Test Report
|
||||||
if: ${{ cancelled() }}
|
if: ${{ failure() }}
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: reports
|
name: reports
|
||||||
|
|||||||
Reference in New Issue
Block a user