From 6dcdf07477253b8d24427fc96dabc91b1a280e23 Mon Sep 17 00:00:00 2001 From: Tiberiu Lepadatu Date: Mon, 1 May 2023 09:44:14 -0600 Subject: [PATCH] Replace workflows deprecated methods --- .github/workflows/pr-release.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pr-release.yaml b/.github/workflows/pr-release.yaml index dfb450b5430..796a6955029 100644 --- a/.github/workflows/pr-release.yaml +++ b/.github/workflows/pr-release.yaml @@ -34,7 +34,7 @@ jobs: pnpm changeset:next git add .changeset/fuel-labs-ci.md pnpm changeset version --snapshot pr-${{ github.event.pull_request.number }} - echo ::set-output name=version::$(pnpm changeset publish --tag pr-${{ github.event.pull_request.number }}) + echo "version=$(pnpm changeset publish --tag pr-${{ github.event.pull_request.number }})" >> $GITHUB_OUTPUT env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} @@ -42,7 +42,7 @@ jobs: - name: Set published version run: | published_version=$(echo "${{ steps.release.outputs.version }}" | grep -oP '@\K([0-9]+\.){2}[0-9]+-pr-${{ github.event.pull_request.number }}-\d+') - echo "::set-output name=published_version::$published_version" + echo "published_version=$published_version" >> $GITHUB_OUTPUT id: set_version - uses: mshick/add-pr-comment@v2