ci: chmod 777 on output directory

This commit is contained in:
Alex Yang 2023-06-30 16:40:47 +08:00
parent a52fc54d80
commit 9fda82564b

View File

@ -46,6 +46,7 @@ runs:
export CC_x86_64_unknown_linux_gnu=x86_64-unknown-linux-gnu-gcc export CC_x86_64_unknown_linux_gnu=x86_64-unknown-linux-gnu-gcc
yarn nx build @affine/native --target ${{ inputs.target }} yarn nx build @affine/native --target ${{ inputs.target }}
chmod -R 777 node_modules/.cache chmod -R 777 node_modules/.cache
chmod -R 777 target
- name: Build - name: Build
if: ${{ inputs.target == 'aarch64-unknown-linux-gnu' }} if: ${{ inputs.target == 'aarch64-unknown-linux-gnu' }}
@ -56,3 +57,4 @@ runs:
run: | run: |
yarn nx build @affine/native --target ${{ inputs.target }} yarn nx build @affine/native --target ${{ inputs.target }}
chmod -R 777 node_modules/.cache chmod -R 777 node_modules/.cache
chmod -R 777 target