Skip to content

Commit

Permalink
make delete job depend on tests
Browse files Browse the repository at this point in the history
  • Loading branch information
AyodeAwe committed Aug 6, 2024
1 parent dd47704 commit 4538dd7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build-test-publish-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ jobs:
cuda${{ matrix.CUDA_VER }}-\
py${{ matrix.PYTHON_VER }}"
delete-temp-images:
if: ${{ !cancelled() && needs.build-multiarch-manifest.result == 'success' }}
if: ${{ !cancelled() && needs.test.result == 'success' }}
needs: [compute-matrix, build-multiarch-manifest, test]
strategy:
matrix: ${{ fromJSON(needs.compute-matrix.outputs.MATRIX) }}
Expand Down

0 comments on commit 4538dd7

Please sign in to comment.