Skip to content

Commit

Permalink
doc: fix
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Kotzbauer <[email protected]>
  • Loading branch information
ckotzbauer committed Oct 17, 2021
1 parent 1e7611f commit fa51e8c
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,10 @@ jobs:
- name: List changes
id: list-changed
run: |
changed=$(ct list-changed)
echo "::set-output name=charts::$changed"
changed=$(ct list-changed --target-branch main)
arr=(`echo $changed`)
json=$(echo "${arr[@]}" | jq -ncR 'inputs | split(" ")')
echo "::set-output name=charts::$json"
if [[ -n "$changed" ]]; then
echo "::set-output name=changed::true"
fi
Expand All @@ -107,7 +109,7 @@ jobs:
fail-fast: false
matrix:
chart:
- ${{ needs.list-changed.outputs.charts }}
- ${{ fromJson(needs.list-changed.outputs.charts) }}
steps:
- name: Checkout
uses: actions/checkout@v2
Expand Down

0 comments on commit fa51e8c

Please sign in to comment.