Skip to content

Commit

Permalink
ci: make items in PORTS_TO_BUILD unique
Browse files Browse the repository at this point in the history
  • Loading branch information
trombik committed Oct 19, 2024
1 parent d3b36dc commit 27660fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
for F in ${{ steps.filter.outputs.ports-to-build_files }}; do
PORTS_TO_BUILD="${PORTS_TO_BUILD} `echo ${F} | cut -f 1,2 -d '/' | sort -u | grep '/'`"
done
PORTS_TO_BUILD=`echo ${PORTS_TO_BUILD} | tr '\n' ' ' | sed -e 's/ $//'`
PORTS_TO_BUILD=`echo ${PORTS_TO_BUILD} | sort -u | tr '\n' ' ' | sed -e 's/ $//'`
echo "::notice ::Building ${PORTS_TO_BUILD}"
# pass the JSON to other jobs
Expand Down

0 comments on commit 27660fa

Please sign in to comment.