Skip to content

Commit 0ca36ce

Browse files
committed
[ci] fix permission error in github actions
1 parent 20b7d3a commit 0ca36ce

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,8 @@ jobs:
3434
image=${{ matrix.builder }}
3535
docker pull $image
3636
docker run -v ${PWD}:/workdir -w /workdir $image bash -c 'mkdir build; cd build; make -f ../Makefile -j3'
37-
mv build/AltServer-* /tmp/build_output
37+
cp build/AltServer-* /tmp/build_output; chmod +x /tmp/build_output/*
38+
sudo rm -rf build
3839
git clean -fdX
3940
- name: Upload to github artifact
4041
uses: NyaMisty/upload-artifact-as-is@master

0 commit comments

Comments
 (0)