Browse Source

[fix](workflow) Fix paths in release workflow for picsharp app

Ackerman 2 months ago
parent
commit
876d33f9ba
1 changed files with 8 additions and 1 deletions
  1. 8 1
      .github/workflows/release.yml

+ 8 - 1
.github/workflows/release.yml

@@ -53,7 +53,14 @@ jobs:
           sudo apt-get install -y libwebkit2gtk-4.0-dev libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev patchelf
 
       - name: Install Sidecar Dependencies
-        run: npm install
+        run: |
+          if [[ "${{ matrix.config.arch }}" == "aarch64-apple-darwin" ]]; then
+            npm install --cpu arm64
+          elif [[ "${{ matrix.config.arch }}" == "x86_64-apple-darwin" ]]; then
+            npm install --cpu x64
+          else
+            npm install
+          fi
         working-directory: packages/picsharp-sidecar
 
       - name: Find Signing Sidecar Binary