Use | rather than > in ci.yml (#72)

The `|` character preserves newlines where `>` does not.
This commit is contained in:
Natalie Weizenbaum 2022-01-31 16:12:20 -08:00 committed by GitHub
parent 5509f1c754
commit 15469fe1a0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -36,7 +36,7 @@ jobs:
default-ref: null default-ref: null
- name: Add Dart Sass to pubspec - name: Add Dart Sass to pubspec
run: > run: |
if [[ -d build/dart-sass ]]; then if [[ -d build/dart-sass ]]; then
( (
echo "dependency_overrides:" echo "dependency_overrides:"
@ -75,7 +75,7 @@ jobs:
default-ref: null default-ref: null
- name: Add Dart Sass to pubspec - name: Add Dart Sass to pubspec
run: > run: |
if [[ -d build/dart-sass ]]; then if [[ -d build/dart-sass ]]; then
( (
echo "dependency_overrides:" echo "dependency_overrides:"
@ -173,7 +173,7 @@ jobs:
run: echo "::set-output name=version::${GITHUB_REF##*/}" run: echo "::set-output name=version::${GITHUB_REF##*/}"
- name: Update version - name: Update version
run: > run: |
cat package.json | cat package.json |
jq --arg version ${{ steps.version.outputs.version }} ' jq --arg version ${{ steps.version.outputs.version }} '
.version |= $version | .version |= $version |