Skip to content

Commit

Permalink
using 7zip from node modules
Browse files Browse the repository at this point in the history
  • Loading branch information
dhchandw committed Nov 22, 2024
1 parent 894a10c commit dcefb14
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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"
Expand All @@ -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"
Expand Down Expand Up @@ -350,7 +350,7 @@ jobs:
if: startsWith(matrix.os, 'macos')
uses: GuillaumeFalourd/[email protected]
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')
Expand All @@ -362,7 +362,7 @@ jobs:
if: startsWith(matrix.os, 'macos')
uses: GuillaumeFalourd/[email protected]
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')
Expand All @@ -375,7 +375,7 @@ jobs:
if: startsWith(matrix.os, 'macos')
uses: GuillaumeFalourd/[email protected]
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')
Expand All @@ -387,7 +387,7 @@ jobs:
if: startsWith(matrix.os, 'macos')
uses: GuillaumeFalourd/[email protected]
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')
Expand Down

0 comments on commit dcefb14

Please sign in to comment.