Skip to content

Commit

Permalink
fix: updates
Browse files Browse the repository at this point in the history
Signed-off-by: Devin Buhl <[email protected]>
  • Loading branch information
onedr0p committed Dec 31, 2024
1 parent d8e8a95 commit 6aeef6a
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/pre-pull-images.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,7 @@ jobs:
id: images
shell: bash
run: |
images=$(jq --compact-output --raw-input --null-input '[inputs]' images.txt)
echo "images=$images" >> $GITHUB_OUTPUT
echo "images=$(jq --compact-output --raw-input --null-input '[inputs]' images.txt)" >> $GITHUB_OUTPUT
pull-request-images:
name: Pull Request Images
Expand Down Expand Up @@ -137,8 +136,7 @@ jobs:
id: images
shell: bash
run: |
images=$(jq --compact-output --raw-input --null-input '[inputs]' images.txt)
echo "images=$images" >> $GITHUB_OUTPUT
echo "images=$(jq --compact-output --raw-input --null-input '[inputs]' images.txt)" >> $GITHUB_OUTPUT
extract-images:
name: Extract Images
Expand All @@ -151,9 +149,11 @@ jobs:
id: extract-images
shell: bash
run: |
echo "${{ steps.default-images.outputs.images }}" > default.txt
echo "${{ steps.pull-request-images.outputs.images }}" > pull.txt
images=$(jq --compact-output --raw-input --null-input '[inputs]' < <(grep -vf default.txt pull.txt))
images=$(jq --null-input \
--argfile "${{ needs.default-images.outputs.images }}" \
--argfile "${{ needs.pull-request-images.outputs.images }}" \
'($f1 - $f2) + ($f2 - $f1)' \
)
echo "images=${images}" >> $GITHUB_OUTPUT
echo "${images}"
echo "### Images" >> $GITHUB_STEP_SUMMARY
Expand Down

0 comments on commit 6aeef6a

Please sign in to comment.