Skip to content

Commit

Permalink
ci(#49): print results
Browse files Browse the repository at this point in the history
print the results of each step when checking changes

Signed-off-by: Bryant Finney <[email protected]>
  • Loading branch information
bryant-finney committed Dec 23, 2023
1 parent a045cfc commit db035ec
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/poe-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,22 @@ jobs:
--name-only ${{ github.event.pull_request.number }}
--repo ${{ github.repository }} | sort >changes.txt

- run:
yq -r '.on.pull_request.paths[]' .github/workflows/docker-build.yml |
cat changes.txt

- run: yq -r '.on.pull_request.paths[]' .github/workflows/docker-build.yml |
sort | uniq >docker.txt

cat docker.txt

- run: comm -12 changes.txt docker.txt >intersection.txt

cat intersection.txt

- id: changes
run: |
{
echo 'match<<EOF'
comm -12 changes.txt docker.txt
cat intersection.txt
echo EOF
} >>"$GITHUB_OUTPUT"
Expand Down

0 comments on commit db035ec

Please sign in to comment.