Skip to content

Commit 9093186

Browse files
authored
Merge pull request #90 from ggreif/patch-1
Test a two-liner body
2 parents 321f000 + 233ab9a commit 9093186

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
matrix:
1010
os: [ubuntu-latest, windows-latest, macos-latest]
1111
steps:
12-
- uses: actions/checkout@v2
12+
- uses: actions/checkout@v3
1313
- run: |
1414
npm install
1515
npm run all
@@ -21,7 +21,7 @@ jobs:
2121
matrix:
2222
os: [ubuntu-latest, windows-latest, macos-latest]
2323
steps:
24-
- uses: actions/checkout@v2
24+
- uses: actions/checkout@v3
2525
- name: Make test pre-release
2626
uses: ./
2727
with:
@@ -31,7 +31,7 @@ jobs:
3131
tag: ci-test-${{ matrix.os }}-${{ github.run_id }}
3232
overwrite: true
3333
prerelease: true
34-
body: "rofl lol test"
34+
body: "rofl lol test%0Aianal fubar"
3535
- name: Check that the uploaded asset is readable
3636
uses: actions/github-script@v2
3737
with:
@@ -47,7 +47,7 @@ jobs:
4747
tag: "ci-test-${{ matrix.os }}-${{ github.run_id }}",
4848
})
4949
assert.deepStrictEqual(release.data.prerelease, true)
50-
assert.deepStrictEqual(release.data.body, "rofl lol test")
50+
assert.deepStrictEqual(release.data.body, "rofl lol test\nianal fubar")
5151
assert.deepStrictEqual(release.data.assets[0].name, "TEST.md")
5252
const actual = child_process.execSync(`curl -Ls ${release.data.assets[0].browser_download_url}`)
5353
assert.deepStrictEqual(expected, actual)

0 commit comments

Comments
 (0)