Skip to content

Commit

Permalink
Fix multiline env var
Browse files Browse the repository at this point in the history
Signed-off-by: Douglas Camata <[email protected]>
  • Loading branch information
douglascamata committed Aug 21, 2023
1 parent d6caf77 commit 8cbb94e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@ runs:
deps+="$brew_celllar/$dep"$'\n'
done
EOF=$(dd if=/dev/urandom bs=15 count=1 status=none | base64)
printf "CACHE_GLOB=$EOF" >> $GITHUB_ENV
echo "$deps" >> $GITHUB_ENV
echo "$EOF" >> $GITHUB_ENV
printf "CACHE_GLOB<<$EOF" >> test
echo "$deps" >> test
echo "$EOF" >> test
shell: bash
- name: Configure Homebrew cache
id: homebrew-cache
Expand Down

0 comments on commit 8cbb94e

Please sign in to comment.