Fix yaml with prefixed newline broken setjob

This commit is contained in:
Christopher Homberger committed 2025-10-27 20:33:27 +01:00
1 parent 34f68b3c18
commit 823a9bcd8f
4 files changed
+42 -6

No files matched your search

+14
View File
@@ -0,0 +1,14 @@
name: Step with leading new line
on:
push:
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: "\nExtract tag for variant"
id: extract_tag
run: |
echo Test
+15
View File
@@ -0,0 +1,15 @@
name: Step with leading new line
"on":
push:
jobs:
test:
name: test
runs-on: ubuntu-latest
steps:
- id: extract_tag
name: |2-
Extract tag for variant
run: |2
echo Test