File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 9
9
matrix :
10
10
os : [ubuntu-latest, windows-latest, macos-latest]
11
11
steps :
12
- - uses : actions/checkout@v2
12
+ - uses : actions/checkout@v3
13
13
- run : |
14
14
npm install
15
15
npm run all
21
21
matrix :
22
22
os : [ubuntu-latest, windows-latest, macos-latest]
23
23
steps :
24
- - uses : actions/checkout@v2
24
+ - uses : actions/checkout@v3
25
25
- name : Make test pre-release
26
26
uses : ./
27
27
with :
31
31
tag : ci-test-${{ matrix.os }}-${{ github.run_id }}
32
32
overwrite : true
33
33
prerelease : true
34
- body : " rofl lol test"
34
+ body : " rofl lol test%0Aianal fubar "
35
35
- name : Check that the uploaded asset is readable
36
36
uses : actions/github-script@v2
37
37
with :
47
47
tag: "ci-test-${{ matrix.os }}-${{ github.run_id }}",
48
48
})
49
49
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 ")
51
51
assert.deepStrictEqual(release.data.assets[0].name, "TEST.md")
52
52
const actual = child_process.execSync(`curl -Ls ${release.data.assets[0].browser_download_url}`)
53
53
assert.deepStrictEqual(expected, actual)
You can’t perform that action at this time.
0 commit comments