From 17bde0b87cf0b6e2af5ca3b38c0993cc3146a89a Mon Sep 17 00:00:00 2001 From: CppCXY <812125110@qq.com> Date: Mon, 14 Mar 2022 17:57:11 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=BC=96=E8=AF=91=E8=84=9A?= =?UTF-8?q?=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/build.yml | 29 +++++++++++++++++++++++++++-- 1 file changed, 27 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index dd2e1d6..3516300 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -58,7 +58,7 @@ jobs: uses: actions/upload-artifact@v2 with: name: ${{ matrix.platform }} - path: ${{ github.workspace }}/artifact/ + path: ${{ github.workspace }}/artifact/bin upload-release: name: Upload Release @@ -71,7 +71,32 @@ jobs: - name: Download uses: actions/download-artifact@v2 - name: Display structure of downloaded files - run: ls -R + run: ls -R + - name: zip win32-x64 + uses: TheDoctor0/zip-release@v0.2.1 + with: + filename: win32-x64.zip + path: win32-x64 + - name: zip win32-x86 + uses: TheDoctor0/zip-release@v0.2.1 + with: + filename: win32-x86.zip + path: win32-x86 + - name: zip linux-x64 + uses: TheDoctor0/zip-release@v0.2.1 + with: + filename: linux-x64.zip + path: linux-x64 + - name: zip darwin-x64 + uses: TheDoctor0/zip-release@v0.2.1 + with: + filename: darwin-x64.zip + path: darwin-x64 + - name: zip darwin-arm64 + uses: TheDoctor0/zip-release@v0.2.1 + with: + filename: darwin-arm64.zip + path: darwin-arm64 - name: Release uses: softprops/action-gh-release@v1 if: startsWith(github.ref, 'refs/tags/')