Skip to content

Commit

Permalink
fix: xargs --no-run-if-empty
Browse files Browse the repository at this point in the history
  • Loading branch information
wdconinc authored Mar 5, 2024
1 parent 10e6ead commit 236afa0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/check-new-versions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
spack repo add --scope site ${GITHUB_WORKSPACE}/key4hep-spack
spack repo add --scope site ${GITHUB_WORKSPACE}/eic-spack
bash eic-spack/.github/scripts/checksum_new_versions.sh
echo "files=$(git diff --name-only | xargs -L1 dirname | xargs -L1 basename | xargs)" >> $GITHUB_OUTPUT
echo "files=$(git diff --name-only | xargs -L1 -r dirname | xargs -L1 -r basename | xargs)" >> $GITHUB_OUTPUT
echo "diffstat<<EOF" >> $GITHUB_OUTPUT
git diff --stat >> $GITHUB_OUTPUT
echo "EOF" >> $GITHUB_OUTPUT
Expand Down

0 comments on commit 236afa0

Please sign in to comment.