mirror of
https://github.com/danog/dart-sass.git
synced 2025-01-22 22:02:00 +01:00
Use |
rather than >
in ci.yml (#72)
The `|` character preserves newlines where `>` does not.
This commit is contained in:
parent
5509f1c754
commit
15469fe1a0
6
.github/workflows/ci.yml
vendored
6
.github/workflows/ci.yml
vendored
@ -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 |
|
||||||
|
Loading…
x
Reference in New Issue
Block a user