Browse Source

fix: call pack refs manually

Shelley Vohr 1 year ago
parent
commit
f904225b02
1 changed files with 4 additions and 1 deletions
  1. 4 1
      .github/workflows/mac-build.yml

+ 4 - 1
.github/workflows/mac-build.yml

@@ -312,7 +312,10 @@ jobs:
         echo 'RBE_experimental_credentials_helper is $RBE_experimental_credentials_helper'
     - name: Default GN gen
       run: |
-        cd src
+        cd src/electron
+        # TODO: remove this once we figure out why .git/packed-refs is initially missing
+        git pack-refs
+        cd ..
         gn gen out/Default --args="import(\"$GN_CONFIG\") use_remoteexec=true $GN_EXTRA_ARGS $GN_BUILDFLAG_ARGS"
     - name: Build Electron
       run: |