From 3a18f1b22bbe791a08b11f3e92014c957a21a24c Mon Sep 17 00:00:00 2001 From: iusmac Date: Fri, 6 Dec 2024 15:06:30 +0100 Subject: [PATCH] ci(android-build): always upload artifacts unless cancelled So that we can fix unit/instrumentation test failures. Signed-off-by: iusmac --- .github/actions/android-build/action.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/actions/android-build/action.yml b/.github/actions/android-build/action.yml index 9044861..6938fc5 100644 --- a/.github/actions/android-build/action.yml +++ b/.github/actions/android-build/action.yml @@ -67,10 +67,11 @@ runs: echo "| :x: Number of Lines Missed | ${{ steps.coverage.outputs.missed_lines }} |" >> $GITHUB_STEP_SUMMARY echo "| Total Number of Lines | ${{ steps.coverage.outputs.total_lines }} |" >> $GITHUB_STEP_SUMMARY - name: Post Build with Gradle + if: ${{ !cancelled() }} shell: bash run: ./.github/scripts/post-build-with-gradle.sh - name: Upload artifacts - if: inputs.upload-artifacts == 'true' + if: inputs.upload-artifacts == 'true' && !cancelled() uses: actions/upload-artifact@v4 with: name: 7SIM-CI-${{ github.run_id }}