Skip to content

Commit

Permalink
fix: actions
Browse files Browse the repository at this point in the history
  • Loading branch information
msojocs committed Feb 2, 2022
1 parent 0ab1166 commit cc00feb
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}'

Expand Down

0 comments on commit cc00feb

Please sign in to comment.