Skip to content

Commit 0cc5b7a

Browse files
committed
[meta] fix release workflow
1 parent 744135b commit 0cc5b7a

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

.github/workflows/release.yml

+12-2
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,12 @@ jobs:
2828

2929
- uses: actions/checkout@v4
3030

31+
- uses: ljharb/actions/node/install@main
32+
with:
33+
node-version: node
34+
skip-install: true
35+
skip-ls-check: true
36+
3137
- uses: mindsers/changelog-reader-action@v2
3238
id: changelog_reader
3339
with:
@@ -47,16 +53,20 @@ jobs:
4753
echo "$_links" >> "${GITHUB_OUTPUT}"
4854
echo "${DELIMITER}" >> "${GITHUB_OUTPUT}"
4955
50-
- id: prune-footnotes
56+
- name: 'concat data > tmp.md'
5157
run: |
5258
cat << 'EOF' > tmp.md
5359
${{ steps.changelog_reader.outputs.changes }}
5460
${{ steps.changelog.outputs.links }}
5561
EOF
5662
63+
- run: cat tmp.md
64+
65+
- id: prune-footnotes
66+
run: |
5767
DELIMITER=$(uuidgen)
5868
echo "body<<${DELIMITER}" >> "${GITHUB_OUTPUT}"
59-
npx gfm-footnotes -i tmp.md > "${GITHUB_OUTPUT}"
69+
npx gfm-footnotes -i tmp.md >> "${GITHUB_OUTPUT}"
6070
echo "${DELIMITER}" >> "${GITHUB_OUTPUT}"
6171
6272
- uses: softprops/action-gh-release@v2

0 commit comments

Comments
 (0)