From 0ca36ce5034c701f655632251bd950eece098b04 Mon Sep 17 00:00:00 2001 From: Misty Date: Wed, 13 Apr 2022 08:56:59 +0800 Subject: [PATCH] [ci] fix permission error in github actions --- .github/workflows/build.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 49912aa..2181afd 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -34,7 +34,8 @@ jobs: image=${{ matrix.builder }} docker pull $image docker run -v ${PWD}:/workdir -w /workdir $image bash -c 'mkdir build; cd build; make -f ../Makefile -j3' - mv build/AltServer-* /tmp/build_output + cp build/AltServer-* /tmp/build_output; chmod +x /tmp/build_output/* + sudo rm -rf build git clean -fdX - name: Upload to github artifact uses: NyaMisty/upload-artifact-as-is@master