From 4cd8e00a457bfd77b6e02aa55b0bbbfb1e7dd916 Mon Sep 17 00:00:00 2001 From: mintsuki Date: Mon, 15 Mar 2021 06:42:37 +0100 Subject: [PATCH] gh: Update gh workflow --- .github/workflows/main.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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