优化actions

pull/360/head
王良 2 months ago
parent 99c04fc963
commit 2932b717b2

@ -48,66 +48,66 @@ jobs:
- name: "npm install lerna/yarn" - name: "npm install lerna/yarn"
run: | run: |
echo "======================================================================"; echo "======================================================================";
dir || ls; ls -lah || dir;
echo "======================================================================"; echo "======================================================================";
echo "npm install lerna@${{ matrix.lerna }} -g"; echo "npm install lerna@${{ matrix.lerna }} -g";
echo "----------"; echo "--------------------";
npm install lerna@${{ matrix.lerna }} -g; npm install lerna@${{ matrix.lerna }} -g;
echo "======================================================================"; echo "======================================================================";
echo "npm install yarn"; echo "npm install yarn";
echo "----------"; echo "--------------------";
npm install yarn; npm install yarn;
- name: "npm -v | lerna -v | yarn -v" - name: "npm -v | lerna -v | yarn -v"
run: | run: |
echo "======================================================================"; echo "======================================================================";
echo "lerna -v"; echo "lerna -v";
echo "----------"; echo "--------------------";
lerna -v; lerna -v;
echo "======================================================================"; echo "======================================================================";
echo "npm -v"; echo "npm -v";
echo "----------"; echo "--------------------";
npm -v; npm -v;
echo "======================================================================"; echo "======================================================================";
echo "yarn -v"; echo "yarn -v";
echo "----------"; echo "--------------------";
yarn -v; yarn -v;
- name: "lerna bootstrap" - name: "lerna bootstrap"
run: | run: |
echo "======================================================================"; echo "======================================================================";
dir || ls; ls -lah || dir;
echo "======================================================================"; echo "======================================================================";
echo "lerna bootstrap --npm-client=yarn"; echo "lerna bootstrap --npm-client=yarn";
echo "----------"; echo "--------------------";
lerna bootstrap --npm-client=yarn; lerna bootstrap --npm-client=yarn;
- name: "npm run electron:build" - name: "npm run electron:build"
run: | run: |
echo "======================================================================"; echo "======================================================================";
dir || ls; ls -lah || dir;
echo "======================================================================"; echo "======================================================================";
echo "cd packages/gui"; echo "cd packages/gui";
echo "----------"; echo "--------------------";
cd packages/gui; cd packages/gui;
echo "======================================================================"; echo "======================================================================";
dir || ls; ls -lah || dir;
echo "======================================================================"; echo "======================================================================";
echo "npm run electron:build"; echo "npm run electron:build";
echo "----------"; echo "--------------------";
npm run electron:build; npm run electron:build;
echo "======================================================================"; echo "======================================================================";
cd dist_electron; cd dist_electron;
dir || ls; ls -lah || dir;
cd ../../../; cd ../../../;
@ -155,7 +155,7 @@ jobs:
with: with:
path: ./packages/mitmproxy path: ./packages/mitmproxy
- name: "Make './release' dir" - name: "Make 'release' dir"
run: mkdir release run: mkdir release
- name: "Download DevSidecar-${{ steps.package-info.outputs.version }}.exe" - name: "Download DevSidecar-${{ steps.package-info.outputs.version }}.exe"

Loading…
Cancel
Save