Skip to content

Commit

Permalink
CI: multi-arch-test-build: set default packages if none detected
Browse files Browse the repository at this point in the history
Set default packages if non detected for each repository name.

Signed-off-by: Christian Marangi <[email protected]>
  • Loading branch information
Ansuel committed Nov 8, 2024
1 parent de7a0e2 commit 0a3f3c9
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/multi-arch-test-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,12 @@ jobs:
# fallback to test packages if nothing explicitly changes this is
# should run if other mechanics in packages.git changed
PACKAGES="${PACKAGES:-vim attendedsysupgrade-common bmon}"
REPOSITORY_NAME=${GITHUB_REPOSITORY#*/}
if [ "$REPOSITORY_NAME" = "routing" ]; then
PACKAGES="${PACKAGES:-bird2 cjdns olsrd}"
else
PACKAGES="${PACKAGES:-vim attendedsysupgrade-common bmon}"
fi
echo "Building $PACKAGES"
echo "PACKAGES=$PACKAGES" >> $GITHUB_ENV
Expand Down

0 comments on commit 0a3f3c9

Please sign in to comment.