From 8696fd2920ef7ddf968f7737d28427669bba0255 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Krzy=C5=BCanowski?= Date: Wed, 6 Mar 2024 21:13:56 +0100 Subject: [PATCH] refactor: add missing step id --- .github/workflows/preview-publish.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/preview-publish.yml b/.github/workflows/preview-publish.yml index cccfb54..e1c8d4e 100644 --- a/.github/workflows/preview-publish.yml +++ b/.github/workflows/preview-publish.yml @@ -40,6 +40,7 @@ jobs: run: npm run build - name: Lerna publish prerelease + id: lerna_publish env: CI: true GH_TOKEN: ${{ secrets.GH_TOKEN }} @@ -49,9 +50,7 @@ jobs: npx lerna publish from-git --dist-tag next --yes - name: Comment PR with Published Versions - uses: actions/github-script@v6 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + uses: actions/github-script@v7 with: script: | const output = `${{ steps.lerna_publish.outputs.publish_output }}`;