Skip to content

Commit

Permalink
Update conditional logic - 3
Browse files Browse the repository at this point in the history
Signed-off-by: Ben Howe <[email protected]>
  • Loading branch information
bmhowe23 committed Jan 18, 2025
1 parent 323ac49 commit 9841a11
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/build_wheels.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
# easier to rely on their's devdeps images to do the building.
# FIXME: there is no guarantee that this CUDA-Q image aligns with the CUDA-Q
# commit that we are trying to align with.
container: ${{ inputs.artifacts_from_run && 'ubuntu:22.04' || format('ghcr.io/nvidia/cuda-quantum-devdeps:manylinux-{0}-{1}-main', matrix.platform, matrix.toolchain.id) }}
container: ${{ format('ghcr.io/nvidia/cuda-quantum-devdeps:manylinux-{0}-{1}-main', matrix.platform, matrix.toolchain.id) }}
permissions:
actions: write
contents: read
Expand Down Expand Up @@ -157,15 +157,15 @@ jobs:
name: cudaq-wheels-${{ matrix.platform }}
path: /cudaq-wheels
run-id: ${{ inputs.artifacts_from_run || github.run_id }}
github-token: ${{ secrets.WORKFLOW_TOKEN }}
github-token: ${{ inputs.artifacts_from_run && secrets.WORKFLOW_TOKEN || github.token }}

- name: Download CUDA-QX wheels
uses: actions/download-artifact@v4
with:
name: wheels-py${{ matrix.python }}-${{ matrix.platform }}
path: /wheels
run-id: ${{ inputs.artifacts_from_run || github.run_id }}
github-token: ${{ secrets.WORKFLOW_TOKEN }}
github-token: ${{ inputs.artifacts_from_run && secrets.WORKFLOW_TOKEN || github.token }}

- name: Test wheels
run: |
Expand Down Expand Up @@ -221,15 +221,15 @@ jobs:
name: cudaq-wheels-${{ matrix.runner.arch }}
path: /cudaq-wheels
run-id: ${{ inputs.artifacts_from_run || github.run_id }}
github-token: ${{ secrets.WORKFLOW_TOKEN }}
github-token: ${{ inputs.artifacts_from_run && secrets.WORKFLOW_TOKEN || github.token }}

- name: Download CUDA-QX wheels
uses: actions/download-artifact@v4
with:
name: wheels-py${{ matrix.python }}-${{ matrix.runner.arch }}
path: /wheels
run-id: ${{ inputs.artifacts_from_run || github.run_id }}
github-token: ${{ secrets.WORKFLOW_TOKEN }}
github-token: ${{ inputs.artifacts_from_run && secrets.WORKFLOW_TOKEN || github.token }}

- name: Test wheels
run: |
Expand Down

0 comments on commit 9841a11

Please sign in to comment.