Skip to content

Commit 36c64d7

Browse files
authored
YAML's > multiline string is so counterintuitive...
1 parent b396e93 commit 36c64d7

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/package-update.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
env:
3333
PKG: ${{ inputs.package }}
3434
VERSION: ${{ steps.view.version }}
35-
SCRIPT: >
35+
SCRIPT: |
3636
const {PKG, VERSION} = process.env
3737
const pkg = JSON.parse(fs.readFileSync("package.json"))
3838
pkg.dependencies[PKG] = VERSION
@@ -42,7 +42,7 @@ jobs:
4242
env:
4343
PKG: ${{ inputs.package }}
4444
- name: Commit and push changes
45-
run: >
45+
run: |
4646
set -euo pipefail
4747
if git diff-index --quiet --cached HEAD; then
4848
echo '::warning::No changes detected. Skipping push.'

0 commit comments

Comments
 (0)