permission

This commit is contained in:
msojocs 2022-02-18 13:05:56 +08:00
parent a54c700a3d
commit 1a561e1ecb

View File

@ -59,14 +59,15 @@ jobs:
- name: Refactor Directory Structure - name: Refactor Directory Structure
run: | run: |
ls -l cd ${{ env.name }} && sudo chmod -R 777 package.nw node
sudo rm -rf cache tmp ls -l
mkdir ${{ env. name }} sudo rm -rf cache tmp
sudo find -maxdepth 1 -not -name ${{ env.name }} -not -name . -exec mv {} ${{ env.name }} \; mkdir ${{ env. name }}
sudo cp -r "${{ env.name }}/package.nw/node_modules/nodegit" nodegit sudo find -maxdepth 1 -not -name ${{ env.name }} -not -name . -exec mv {} ${{ env.name }} \;
sudo cp -r "${{ env.name }}/compiler" compiler sudo cp -r "${{ env.name }}/package.nw/node_modules/nodegit" nodegit
ls -l sudo cp -r "${{ env.name }}/compiler" compiler
cd "${{ env.name }}" ls -l
cd "${{ env.name }}"
env: env:
name: 'WeChat_Dev_Tools_${{ steps.tag.outputs.tag }}' name: 'WeChat_Dev_Tools_${{ steps.tag.outputs.tag }}'
@ -82,7 +83,6 @@ jobs:
- name: Build AppImage && Pack - name: Build AppImage && Pack
run: | run: |
cd ${{ env.name }} && sudo chmod -R 777 package.nw node
bash ./${{ env.name }}/tools/appimage.sh bash ./${{ env.name }}/tools/appimage.sh
wget "https://github.com/AppImage/AppImageKit/releases/download/continuous/appimagetool-x86_64.AppImage" wget "https://github.com/AppImage/AppImageKit/releases/download/continuous/appimagetool-x86_64.AppImage"
chmod a+x appimagetool-x86_64.AppImage chmod a+x appimagetool-x86_64.AppImage