Skip to content

Commit

Permalink
ci(android-build): always upload artifacts unless cancelled
Browse files Browse the repository at this point in the history
So that we can fix unit/instrumentation test failures.

Signed-off-by: iusmac <[email protected]>
  • Loading branch information
iusmac committed Dec 6, 2024
1 parent 186c09b commit 3a18f1b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/actions/android-build/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down

0 comments on commit 3a18f1b

Please sign in to comment.