From 0cc5b7abe24f57ffb6fbb80ed1a9c840f8dba276 Mon Sep 17 00:00:00 2001 From: Jordan Harband Date: Thu, 26 Sep 2024 17:55:10 -0700 Subject: [PATCH] [meta] fix release workflow --- .github/workflows/release.yml | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ce37ab2535..3a957f007c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -28,6 +28,12 @@ jobs: - uses: actions/checkout@v4 + - uses: ljharb/actions/node/install@main + with: + node-version: node + skip-install: true + skip-ls-check: true + - uses: mindsers/changelog-reader-action@v2 id: changelog_reader with: @@ -47,16 +53,20 @@ jobs: echo "$_links" >> "${GITHUB_OUTPUT}" echo "${DELIMITER}" >> "${GITHUB_OUTPUT}" - - id: prune-footnotes + - name: 'concat data > tmp.md' run: | cat << 'EOF' > tmp.md ${{ steps.changelog_reader.outputs.changes }} ${{ steps.changelog.outputs.links }} EOF + - run: cat tmp.md + + - id: prune-footnotes + run: | DELIMITER=$(uuidgen) echo "body<<${DELIMITER}" >> "${GITHUB_OUTPUT}" - npx gfm-footnotes -i tmp.md > "${GITHUB_OUTPUT}" + npx gfm-footnotes -i tmp.md >> "${GITHUB_OUTPUT}" echo "${DELIMITER}" >> "${GITHUB_OUTPUT}" - uses: softprops/action-gh-release@v2