From 47ef78a764560757c57bb5e20fc4554da4a09185 Mon Sep 17 00:00:00 2001 From: Grant Nelson Date: Fri, 14 Jun 2024 13:40:31 -0600 Subject: [PATCH] trying custom action --- .github/actions/setup-gopherjs/action.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/actions/setup-gopherjs/action.yml b/.github/actions/setup-gopherjs/action.yml index 27fb5b900..c7d72df14 100644 --- a/.github/actions/setup-gopherjs/action.yml +++ b/.github/actions/setup-gopherjs/action.yml @@ -16,12 +16,14 @@ runs: with: node-version: ${{ env.NODE_VERSION }} - name: Setup Node.js + shell: bash run: | # Make nodejs able to require installed modules from any working path echo "NODE_PATH=$(npm root)" >> $GITHUB_ENV # Extra flags to avoid installing node-syscall. npm install --no-optional --no-package-lock - name: Fix TEMP variable + shell: bash if: ${{ inputs.os }} == 'windows-latest' run: | echo "SOURCE_MAP_SUPPORT=false" >> $env:GITHUB_ENV @@ -30,8 +32,10 @@ runs: echo "TMP=$env:USERPROFILE\AppData\Local\Temp" >> $env:GITHUB_ENV echo "TMPDIR=$env:USERPROFILE\AppData\Local\Temp" >> $env:GITHUB_ENV - name: Install GopherJS + shell: bash run: go install -v - name: Setup information + shell: bash run: | echo ::notice::$(go version) echo ::notice::$(node -v)