diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b17d2d4a2..a875f2e0f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -121,7 +121,7 @@ jobs: - name: Use Node.js uses: actions/setup-node@v4 with: - node-version: 16 + node-version: 20 registry-url: 'https://registry.npmjs.org' - run: npm ci @@ -170,7 +170,7 @@ jobs: - name: Use Node.js uses: actions/setup-node@v4 with: - node-version: 16 + node-version: 20 registry-url: 'https://registry.npmjs.org' - run: npm ci @@ -285,21 +285,23 @@ jobs: - name: Publish latest master to GitHub if: github.ref == 'refs/heads/master' - uses: marvinpinto/action-automatic-releases@latest + uses: softprops/action-gh-release@v2 with: - repo_token: "${{ secrets.GITHUB_TOKEN }}" - automatic_release_tag: "latest-master" + token: "${{ secrets.GITHUB_TOKEN }}" + tag_name: "latest-master" prerelease: true - title: "Latest master" + generate_release_notes: true + name: "Latest master" files: rescript-vscode-latest-master.vsix - name: Publish release version to GitHub if: startsWith(github.ref, 'refs/tags/') - uses: marvinpinto/action-automatic-releases@latest + uses: softprops/action-gh-release@v2 with: - repo_token: "${{ secrets.GITHUB_TOKEN }}" + token: "${{ secrets.GITHUB_TOKEN }}" prerelease: false - title: ${{ steps.tag_name.outputs.tag }} + generate_release_notes: true + name: ${{ steps.tag_name.outputs.tag }} files: rescript-vscode-${{ steps.tag_name.outputs.tag }}.vsix - name: Publish extension as pre-release