Skip to content

Commit

Permalink
Add description
Browse files Browse the repository at this point in the history
  • Loading branch information
juliannguyen4 committed Nov 18, 2024
1 parent bdda826 commit 438cbef
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/valgrind.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,16 +59,18 @@ jobs:
run: echo num_artifacts=$(jq length ${{ env.JF_SEARCH_RESULTS_FILE_NAME }}) >> $GITHUB_OUTPUT

# We use a composite action so we don't have to reuse the same if condition for multiple steps
- if: ${{ steps.count_num_artifacts_found.outputs.num_artifacts > 1 }}
- name: Found more than one artifact. Try to filter out artifacts with special labels (local version identifiers)
if: ${{ steps.count_num_artifacts_found.outputs.num_artifacts > 1 }}
run: .github/actions/filter-and-recount-artifacts
id: filter-and-recount-artifacts

- name: Multiple artifacts found, not sure which one to use. Fail out
- name: After filtering, there are still multiple artifacts so we are not sure which one to use. Fail out
if: ${{ steps.filter-and-recount-artifacts.outputs.num_filtered_artifacts > 1 }}
run: exit 1

- if: ${{ steps.filter-and-recount-artifacts.outputs.num_filtered_artifacts == 1 }}
run: .github/actions/get-jfrog-artifact-and-upload-to-jfrog
- name: Found exactly one artifact. Upload to Github for valgrind job to use
if: ${{ steps.filter-and-recount-artifacts.outputs.num_filtered_artifacts == 1 }}
run: .github/actions/get-jfrog-artifact-and-upload-to-gh

build-manylinux-wheel:
needs: look-for-wheel-in-jfrog
Expand Down

0 comments on commit 438cbef

Please sign in to comment.