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