diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 85743857..a272b1ab 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -77,7 +77,8 @@ jobs: run: | git config user.name 'mintsuki' git config user.email 'mintsuki@users.noreply.github.com' - git checkout --orphan $BRANCH_NAME-binary || git checkout $BRANCH_NAME-binary + git fetch --all + git checkout $BRANCH_NAME-binary || git checkout --orphan $BRANCH_NAME-binary rm -rf $(ls -a | grep -v '^\.git$' | grep -v '^\.\.$' | grep -v '^\.$' | grep -v '^bin$') mv bin/* ./ rm -rf bin