diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 78c3c0d244..8f83ca9f46 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -261,7 +261,7 @@ jobs: - name: Verify zap-cli exists in Windows x64 .zip package if: startsWith(matrix.os, 'macos') run: | - output=$(7za l ./dist/zap-win-x64.zip) + output=$(npx 7za l ./dist/zap-win-x64.zip) expression=zap-cli if [[ $output == *"$expression"* ]]; then echo "Output contains $expression" @@ -272,7 +272,7 @@ jobs: - name: Verify zap-cli exists in Windows arm64 .zip package if: startsWith(matrix.os, 'macos') run: | - output=$(7za l ./dist/zap-win-arm64.zip) + output=$(npx 7za l ./dist/zap-win-arm64.zip) expression=zap-cli if [[ $output == *"$expression"* ]]; then echo "Output contains $expression" @@ -283,7 +283,7 @@ jobs: - name: Verify zap-cli exists in macOS x64 .zip package if: startsWith(matrix.os, 'macos') run: | - output=$(7za l ./dist/zap-mac-x64.zip | grep zap-cli) + output=$(npx 7za l ./dist/zap-mac-x64.zip | grep zap-cli) expression=zap-cli if [[ $output == *"$expression"* ]]; then echo "Output contains $expression" @@ -350,7 +350,7 @@ jobs: if: startsWith(matrix.os, 'macos') uses: GuillaumeFalourd/assert-command-line-output@v2.1 with: - command_line: 7za l ./dist/zap-win-x64.zip | grep apack.json + command_line: npx 7za l ./dist/zap-win-x64.zip | grep apack.json contains: 'apack.json' - name: Verify apack.json exists in Windows x64 .zip package's app.asar archive if: startsWith(matrix.os, 'macos') @@ -362,7 +362,7 @@ jobs: if: startsWith(matrix.os, 'macos') uses: GuillaumeFalourd/assert-command-line-output@v2.1 with: - command_line: 7za l ./dist/zap-win-arm64.zip | grep apack.json + command_line: npx 7za l ./dist/zap-win-arm64.zip | grep apack.json contains: 'apack.json' - name: Verify apack.json exists in Windows arm64 .zip package's app.asar archive if: startsWith(matrix.os, 'macos') @@ -375,7 +375,7 @@ jobs: if: startsWith(matrix.os, 'macos') uses: GuillaumeFalourd/assert-command-line-output@v2.1 with: - command_line: 7za l ./dist/zap-mac-x64.zip | grep apack.json + command_line: npx 7za l ./dist/zap-mac-x64.zip | grep apack.json contains: 'apack.json' - name: Verify apack.json exists in macOS x64 .zip package's app-x64.asar archive if: startsWith(matrix.os, 'macos') @@ -387,7 +387,7 @@ jobs: if: startsWith(matrix.os, 'macos') uses: GuillaumeFalourd/assert-command-line-output@v2.1 with: - command_line: 7za l ./dist/zap-mac-arm64.zip | grep apack.json + command_line: npx 7za l ./dist/zap-mac-arm64.zip | grep apack.json contains: 'apack.json' - name: Verify apack.json exists in macOS arm64 .zip package's app-arm64.asar archive if: startsWith(matrix.os, 'macos')