From 723c95363aee09ed80637e8ffb4b19f92069de27 Mon Sep 17 00:00:00 2001 From: XZB-1248 Date: Sun, 19 Jun 2022 17:18:42 +0800 Subject: [PATCH] update: workflow file --- .github/workflows/build.yml | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index eb0c2a7..8b0cade 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -120,18 +120,19 @@ jobs: - name: Pack releases run: | + mv ./built ./releases/built cd ./releases sudo apt install zip tar -y - tar -zcf server_darwin_arm64.tar.gz server_darwin_arm64 ../built - tar -zcf server_darwin_amd64.tar.gz server_darwin_amd64 ../built - tar -zcf server_linux_arm.tar.gz server_linux_arm ../built - tar -zcf server_linux_i386.tar.gz server_linux_i386 ../built - tar -zcf server_linux_arm64.tar.gz server_linux_arm64 ../built - tar -zcf server_linux_amd64.tar.gz server_linux_amd64 ../built - zip -r -9 -q server_windows_arm.zip server_windows_arm.exe ../built - zip -r -9 -q server_windows_i386.zip server_windows_i386.exe ../built - zip -r -9 -q server_windows_arm64.zip server_windows_arm64.exe ../built - zip -r -9 -q server_windows_amd64.zip server_windows_amd64.exe ../built + tar -zcf server_darwin_arm64.tar.gz server_darwin_arm64 ./built + tar -zcf server_darwin_amd64.tar.gz server_darwin_amd64 ./built + tar -zcf server_linux_arm.tar.gz server_linux_arm ./built + tar -zcf server_linux_i386.tar.gz server_linux_i386 ./built + tar -zcf server_linux_arm64.tar.gz server_linux_arm64 ./built + tar -zcf server_linux_amd64.tar.gz server_linux_amd64 ./built + zip -r -9 -q server_windows_arm.zip server_windows_arm.exe ./built + zip -r -9 -q server_windows_i386.zip server_windows_i386.exe ./built + zip -r -9 -q server_windows_arm64.zip server_windows_arm64.exe ./built + zip -r -9 -q server_windows_amd64.zip server_windows_amd64.exe ./built - name: Release uses: softprops/action-gh-release@v1