Skip to content

Commit

Permalink
Fix update-cudaq-dep.yml
Browse files Browse the repository at this point in the history
Signed-off-by: Ben Howe <bhowe@nvidia.com>
  • Loading branch information
bmhowe23 committed Feb 8, 2025
1 parent 369f3c5 commit 41354f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/update-cudaq-dep.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:

- name: Fetch the latest commit
run: |
SHA=$(curl -s "https://api.github.com/repos/NVIDIA/cuda-quantum/commits/${{ inputs.cudaq_branch_name }}" | jq -r '.sha')
SHA=$(curl -s "https://api.github.com/repos/NVIDIA/cuda-quantum/commits/${{ inputs.cudaq_branch_name || 'main' }}" | jq -r '.sha')
echo "Latest SHA: $SHA"
echo "sha=$SHA" >> $GITHUB_ENV
Expand Down

0 comments on commit 41354f2

Please sign in to comment.