From fa5d5d5a3330e98a1cf38b687b168eda12c21ffd Mon Sep 17 00:00:00 2001 From: Gabor Greif Date: Wed, 18 Jan 2023 23:33:57 +0100 Subject: [PATCH 1/3] test a two-liner --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3134a58..dd72168 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -31,7 +31,7 @@ jobs: tag: ci-test-${{ matrix.os }}-${{ github.run_id }} overwrite: true prerelease: true - body: "rofl lol test" + body: "rofl lol test%0Aianal fubar" - name: Check that the uploaded asset is readable uses: actions/github-script@v2 with: From d3a6c14a79c7d85812622c7824812f0d520dec11 Mon Sep 17 00:00:00 2001 From: Gabor Greif Date: Wed, 18 Jan 2023 23:40:07 +0100 Subject: [PATCH 2/3] check for multi-line too --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index dd72168..8e98909 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -47,7 +47,7 @@ jobs: tag: "ci-test-${{ matrix.os }}-${{ github.run_id }}", }) assert.deepStrictEqual(release.data.prerelease, true) - assert.deepStrictEqual(release.data.body, "rofl lol test") + assert.deepStrictEqual(release.data.body, "rofl lol test\nianal fubar") assert.deepStrictEqual(release.data.assets[0].name, "TEST.md") const actual = child_process.execSync(`curl -Ls ${release.data.assets[0].browser_download_url}`) assert.deepStrictEqual(expected, actual) From 233ab9a35ed3e2456681964770d67d9064a6ed13 Mon Sep 17 00:00:00 2001 From: Gabor Greif Date: Wed, 18 Jan 2023 23:43:37 +0100 Subject: [PATCH 3/3] bump --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8e98909..3af5c23 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -9,7 +9,7 @@ jobs: matrix: os: [ubuntu-latest, windows-latest, macos-latest] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - run: | npm install npm run all @@ -21,7 +21,7 @@ jobs: matrix: os: [ubuntu-latest, windows-latest, macos-latest] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Make test pre-release uses: ./ with: