From edb66b31dd3261fb3cf5c8e8b191d3418cee5286 Mon Sep 17 00:00:00 2001 From: qydysky Date: Thu, 27 Apr 2023 01:25:41 +0000 Subject: [PATCH] =?utf8?q?Improve=20=E7=BC=A9=E5=B0=8Frelease=E6=89=93?= =?utf8?q?=E5=8C=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- .github/workflows/go.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index c00c42d..d6287f7 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -50,7 +50,7 @@ jobs: CGO_ENABLED=0 go build -v -buildmode=exe -o demo.run main.go - name: zip - run: zip -q -r ubuntu_go${{ matrix.go }}.zip * + run: zip -q -r ubuntu_go${{ matrix.go }}.zip demo - name: Upload a Release Asset uses: softprops/action-gh-release@v1 @@ -99,7 +99,7 @@ jobs: go build -v -buildmode=exe -o demo.exe main.go - name: zip - run: .\7za.exe a -r .\windows_go${{ matrix.go }}.zip ./ + run: .\7za.exe a -r .\windows_go${{ matrix.go }}.zip ./demo - name: Upload a Release Asset uses: softprops/action-gh-release@v1 -- 2.39.2