Skip to content

Commit

Permalink
Merge pull request #22458 from ashley-cui/artifacts
Browse files Browse the repository at this point in the history
[CI:DOCS] Fix artifact action
  • Loading branch information
openshift-merge-bot[bot] authored Apr 23, 2024
2 parents 35c2c82 + c22eefb commit 5e1c3f5
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/release-artifacts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,10 @@ jobs:
echo "dryrun=${{ inputs.dryrun }}" >> $GITHUB_OUTPUT
fi
- name: Dry Run Status
run: |
echo "::notice::This workflow execution will be a dry-run: ${{ steps.actual_dryrun.outputs.dryrun }}"
- name: Check uploads
id: check
run: |
Expand All @@ -61,10 +65,11 @@ jobs:
set -- $artifact # Convert the "tuple" into the param args $1 $2...
status=$(curl -s -o /dev/null -w "%{http_code}" "${URI}/${1:?}")
if [[ "$status" == "404" ]] ; then
echo "${1:?} will be built"
needsbuild=true
echo "${2:?}=true"
echo "${2:?}=true" >> $GITHUB_OUTPUT
else
echo "::warning::${artifact} already exists, skipping"
echo "::warning::${1:?} already exists, skipping"
fi
done
Expand Down

1 comment on commit 5e1c3f5

@packit-as-a-service
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

podman-next COPR build failed. @containers/packit-build please check.

Please sign in to comment.