浏览代码

ci(linux): fix artifact files rights [skip ci]

Baptiste Augrain 1 年之前
父节点
当前提交
9ce4c29b64
共有 2 个文件被更改,包括 4 次插入1 次删除
  1. 2 1
      package_linux_bin.sh
  2. 2 0
      package_linux_reh.sh

+ 2 - 1
package_linux_bin.sh

@@ -9,6 +9,8 @@ fi
 
 tar -xzf ./vscode.tar.gz
 
+chown -R root:root vscode
+
 ls -la
 
 cd vscode || { echo "'vscode' dir not found"; exit 1; }
@@ -19,7 +21,6 @@ export VSCODE_SYSROOT_PREFIX='-glibc-2.17'
 ls -la .git
 
 git clean -xfd .
-yarn cache clean
 
 for i in {1..5}; do # try 5 times
   yarn --cwd build --frozen-lockfile --check-files && break

+ 2 - 0
package_linux_reh.sh

@@ -9,6 +9,8 @@ fi
 
 tar -xzf ./vscode.tar.gz
 
+chown -R root:root vscode
+
 cd vscode || { echo "'vscode' dir not found"; exit 1; }
 
 export VSCODE_PLATFORM='linux'