From 6afc725b6149f10f8dab35dfb16c46de2ada9311 Mon Sep 17 00:00:00 2001 From: John Guo Date: Tue, 8 Mar 2022 21:22:01 +0800 Subject: [PATCH] ci updates --- .github/workflows/cli.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/cli.yml b/.github/workflows/cli.yml index 1ef0876c1..cd0266155 100644 --- a/.github/workflows/cli.yml +++ b/.github/workflows/cli.yml @@ -36,7 +36,7 @@ jobs: cd cmd/gf gf build main.go -n gf -a all -s all - - name: Move Files Before Release + - name: Move Files Before Upx run: | cd cmd/gf/temp for OS in *;do for FILE in $OS/*;\ @@ -45,6 +45,12 @@ jobs: else mv $FILE gf_$OS && rm -rf $OS;\ fi;done;done + - name: Move Files After Upx + run: | + cd cmd/gf/temp + mv noupx/* ./ && rm -rf noupx + ls -l + - name: Create Github Release id: create_release uses: actions/create-release@v1