Skip to content

Commit

Permalink
retry4
Browse files Browse the repository at this point in the history
  • Loading branch information
puneetsharma21 committed Oct 13, 2024
1 parent ab202b5 commit 5747996
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/sklearnserver-docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,13 +65,12 @@ jobs:
steps:
- name: Log test result
run: |
echo "Test job result: ${{ needs.test.outcome }}"
echo "Test job result: ${{ needs.test.result }}"
# Retry job that executes if the test job fails for any platform, retry only on linux/ppc64le
retry:
runs-on: ubuntu-latest
needs: test
if: ${{ needs.test.outcome == 'failure' }} # Run retry only if the test job failed
needs: log-result
strategy:
matrix:
platform: [linux/ppc64le] # Only retry for linux/ppc64le
Expand Down

0 comments on commit 5747996

Please sign in to comment.