Skip to content

Commit

Permalink
Minor publishing fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
bettinaheim authored Aug 16, 2023
1 parent 8aee202 commit 8dbbc38
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/publishing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,10 +70,6 @@ jobs:
for artifact in `echo "$artifacts"`; do
name=`echo $artifact | jq -r '.name'`
url=`echo $artifact | jq -r '.url'`
# TODO: update GitLab pipeline to support arm builds
if [ -n "$(echo $name | grep arm)" ]; then name=""; fi
if [ "${name#build_info}" != "$name" ] || [ "${name#python_info}" != "$name" ]; then
download "$url" "$name"
platforms=`cat "$name.txt" | egrep -o 'platforms?: \S*' | cut -d ' ' -f 2`
Expand Down Expand Up @@ -441,14 +437,17 @@ jobs:
name: Clean up
needs: [assets, cudaq_hpc, cudaq_wheels, create_release]
# Force this job to run even when some of the dependencies above are skipped.
if: always() && !cancelled() && !contains(needs.*.result, 'failure') && !contains(needs.*.result, 'cancelled')
if: always() && !cancelled() && needs.assets.result != 'skipped' && !contains(needs.*.result, 'failure') && !contains(needs.*.result, 'cancelled')
runs-on: ubuntu-latest

environment:
name: ghcr-deployment
url: ${{ vars.deployment_url }}

steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Clean up
id: cleanup
run: |
Expand Down

0 comments on commit 8dbbc38

Please sign in to comment.