From bf9bfff09ad3df99dc67eee476e61676af3682a4 Mon Sep 17 00:00:00 2001 From: D4ryl00 Date: Fri, 17 May 2024 12:44:04 +0200 Subject: [PATCH] fix: release workflow CI build Signed-off-by: D4ryl00 --- .github/workflows/release.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 40283559..8d200a03 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -37,9 +37,11 @@ jobs: run: | asdf plugin add nodejs asdf install nodejs - node_version=$(asdf current nodejs | xargs | cut -d ' ' -f 2) - echo $node_version >> $GITHUB_ENV - asdf global nodejs $node_version + echo "node_version=$(asdf current nodejs | xargs | cut -d ' ' -f 2)" >> $GITHUB_ENV + + - name: Set nodejs as global exec + run: | + asdf global nodejs ${{ env.node_version }} - name: Cache go modules uses: actions/cache@v4