Skip to content

Commit

Permalink
Update bump-bundles.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
laeubi authored Aug 13, 2024
1 parent 21e7733 commit 5dad792
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions .github/workflows/bump-bundles.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,8 @@ jobs:
id: list-bundles
run: |
pwd
ls
directories=($(ls -d */))
directories=("${directories[@]%/}")
json_array=()
for dir in "${directories[@]}"; do
json_array+=("\"$dir\"")
done
json_elements=$(IFS=,; echo "${json_array[*]}")
json_output="{ \"bundles\": [$json_elements] }"
echo "bundles=$json_output" | tee -a "$GITHUB_OUTPUT"
ls -a
update-bundles:
runs-on: ubuntu-latest
if: always()
Expand Down

0 comments on commit 5dad792

Please sign in to comment.