diff --git a/actions/release-notes/action.yml b/actions/release-notes/action.yml index fae709e..d06757f 100644 --- a/actions/release-notes/action.yml +++ b/actions/release-notes/action.yml @@ -18,6 +18,11 @@ outputs: runs: using: "composite" steps: + - name: "Setup Node.js" + uses: actions/setup-node@v6 + with: + node-version-file: .nvmrc + - name: "Checkout latest main" run: | git checkout main @@ -33,12 +38,7 @@ runs: - name: "Extract release notes from CHANGELOG" id: notes - run: | - { - echo 'release_details<> "$GITHUB_OUTPUT" + run: node '${{ github.action_path }}/../../dist/extract-release-notes.js' shell: bash - name: "Create GitHub release"