Browse Source

ci: fix helperPath calls in action configs

Keeley Hammond 1 year ago
parent
commit
7e31c0f7a2
2 changed files with 4 additions and 4 deletions
  1. 2 2
      .github/workflows/macos-build.yml
  2. 2 2
      .github/workflows/macos-publish.yml

+ 2 - 2
.github/workflows/macos-build.yml

@@ -303,10 +303,10 @@ jobs:
         npx yarn --ignore-engines
         # Pull down credential helper and print status
         node -e "require('./src/utils/reclient.js').downloadAndPrepare({})"
-        HELPER=$(node -p "require('./src/utils/reclient.js').helperPath")
+        HELPER=$(node -p "require('./src/utils/reclient.js').helperPath({})")
         $HELPER login
         echo 'RBE_service='`node -e "console.log(require('./src/utils/reclient.js').serviceAddress)"` >> $GITHUB_ENV
-        echo 'RBE_experimental_credentials_helper='`node -e "console.log(require('./src/utils/reclient.js').helperPath)"` >> $GITHUB_ENV
+        echo 'RBE_experimental_credentials_helper='`node -e "console.log(require('./src/utils/reclient.js').helperPath({}))"` >> $GITHUB_ENV
         echo 'RBE_experimental_credentials_helper_args=print' >> $GITHUB_ENV
     - name: Default GN gen
       run: |

+ 2 - 2
.github/workflows/macos-publish.yml

@@ -213,10 +213,10 @@ jobs:
         npx yarn --ignore-engines
         # Pull down credential helper and print status
         node -e "require('./src/utils/reclient.js').downloadAndPrepare({})"
-        HELPER=$(node -p "require('./src/utils/reclient.js').helperPath")
+        HELPER=$(node -p "require('./src/utils/reclient.js').helperPath({})")
         $HELPER login
         echo 'RBE_service='`node -e "console.log(require('./src/utils/reclient.js').serviceAddress)"` >> $GITHUB_ENV
-        echo 'RBE_experimental_credentials_helper='`node -e "console.log(require('./src/utils/reclient.js').helperPath)"` >> $GITHUB_ENV
+        echo 'RBE_experimental_credentials_helper='`node -e "console.log(require('./src/utils/reclient.js').helperPath({}))"` >> $GITHUB_ENV
         echo 'RBE_experimental_credentials_helper_args=print' >> $GITHUB_ENV
     - name: Default GN gen
       run: |