Skip to content

Commit

Permalink
simplify output
Browse files Browse the repository at this point in the history
  • Loading branch information
connorhu committed Feb 29, 2024
1 parent 7fa7332 commit e2a14c1
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/archive-validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,10 @@ jobs:

- id: number-of-new-files
run: |
bash .ci/github/files_between_commits.sh $GITHUB_REF $GITHUB_SHA
number_of_new_files=$(for file in $(bash .ci/github/files_between_commits.sh $GITHUB_REF $GITHUB_SHA)
echo "number_of_new_files=$(for file in $(bash .ci/github/files_between_commits.sh $GITHUB_REF $GITHUB_SHA)
do
dirname $file;
done | sort | uniq | grep '^\.$' | wc -l)
echo "number_of_new_files=$number_of_new_files" >> $GITHUB_OUTPUT
done | sort | uniq | grep '^\.$' | wc -l)" >> $GITHUB_OUTPUT
- run: |
git archive -o archive.tar $GITHUB_SHA && sh .ci/github/validate_archive.sh archive.tar
Expand Down

0 comments on commit e2a14c1

Please sign in to comment.