From c48ac61c52b2dcebae878cf3c14b8f1623cb7266 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Eva=20Mill=C3=A1n?= Date: Mon, 10 Apr 2023 11:05:53 +0200 Subject: [PATCH] Fix Yarn version in GitHub actions MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes the Yarn version used in the release workflow. Signed-off-by: Eva Millán --- .github/workflows/release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 328b296..5cf2db4 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -36,7 +36,7 @@ jobs: id: versions run: | echo "::set-output name=node_version::$(node -p "(require('./osd/package.json').engines.node).match(/[.0-9]+/)[0]")" - echo "::set-output name=yarn_version::$(node -p "(require('./osd/package.json').engines.yarn).match(/[.0-9]+/)[0]")" + echo "::set-output name=yarn_version::$(node -p "require('./osd/package.json').engines.yarn")" - name: Setup node uses: actions/setup-node@v2 with: @@ -44,7 +44,7 @@ jobs: - name: Setup yarn run: | npm uninstall -g yarn - echo "Installing yarn ${{ steps.versions_step.outputs.yarn_version }}" + echo "Installing yarn ${{ steps.versions.outputs.yarn_version }}" npm i -g yarn@${{ steps.versions.outputs.yarn_version }} - name: Move plugin to OpenSearch Dashboards folder run: |