Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
Signed-off-by: Ben Rockwood <[email protected]>
  • Loading branch information
benr committed Sep 26, 2023
1 parent b6bd1eb commit 78e095a
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/providers.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,15 +54,14 @@ jobs:
printf "PROVIDER $p:\n Local version: $REPO_VERSION\n Remote version: $DIST_VERSION\n"
if [[ $REPO_VERSION != $DIST_VERSION ]]; then
echo " Adding $p to build list"
build="$build\n$p"
build="$build $p"
else
echo " Skipping: Provider version unchanged."
fi
cd $root
done
printf '%s\n' "${build[@]}" | jq -R . | jq -sc . > providers.json
echo "providers=$(cat providers.json)" >> $GITHUB_OUTPUT
echo -n $build | jq -Rsc 'split(" ")' >> $GITHUB_OUTPUT
if [[ ${{ github.event.inputs.build_all }} == 'true' ]]; then
echo "Forced build of all providers"
Expand Down

0 comments on commit 78e095a

Please sign in to comment.