mirror of
https://github.com/msojocs/wechat-web-devtools-linux.git
synced 2025-07-07 00:02:14 +08:00
fix: actions
This commit is contained in:
parent
0ab1166dc3
commit
cc00feb8b0
9
.github/workflows/release.yml
vendored
9
.github/workflows/release.yml
vendored
@ -41,18 +41,19 @@ jobs:
|
||||
chmod 777 docker/entrypoint
|
||||
chmod 777 tools/*
|
||||
export ACTION_MODE=true
|
||||
npm install nw-gyp -g
|
||||
npm uninstall node-gyp -g
|
||||
npm install node-gyp nw-gyp npm -g
|
||||
|
||||
- name: Build
|
||||
run: tools/setup-wechat-devtools-node
|
||||
run: docker-compose up
|
||||
|
||||
- name: Delete unused file
|
||||
run: |
|
||||
sudo rm -rf cache tmp
|
||||
mkdir ${{ env. name }}
|
||||
find -maxdepth 1 -not -name ${{ env.name }} -not -name . -exec mv {} ${{ env.name }} \;
|
||||
sudo find -maxdepth 1 -not -name ${{ env.name }} -not -name . -exec mv {} ${{ env.name }} \;
|
||||
ls -l
|
||||
cp -r "${{ env.name }}/package.nw/node_modules/nodegit" nodegit
|
||||
sudo cp -r "${{ env.name }}/package.nw/node_modules/nodegit" nodegit
|
||||
env:
|
||||
name: 'release-${{ github.ref_name }}'
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user