Browse Source

[chore](release) update release workflow of windows building config

AkiraBit 2 months ago
parent
commit
3ceefd741c
1 changed files with 0 additions and 2 deletions
  1. 0 2
      .github/workflows/release.yml

+ 0 - 2
.github/workflows/release.yml

@@ -94,7 +94,6 @@ jobs:
         with:
         with:
           script: |
           script: |
             const arch = '${{ matrix.config.arch }}';
             const arch = '${{ matrix.config.arch }}';
-            const { exec } = require('@actions/exec');
 
 
             console.log(`[Sidecar] Detected architecture: ${arch}`);
             console.log(`[Sidecar] Detected architecture: ${arch}`);
             let npmArgs = ['install'];
             let npmArgs = ['install'];
@@ -223,7 +222,6 @@ jobs:
         uses: actions/github-script@v7
         uses: actions/github-script@v7
         with:
         with:
           script: |
           script: |
-            const { exec } = require('@actions/exec');
             const arch = '${{ matrix.config.arch }}';
             const arch = '${{ matrix.config.arch }}';
             const os = '${{ runner.os }}'.toLowerCase();
             const os = '${{ runner.os }}'.toLowerCase();
             let commandParts = [];
             let commandParts = [];