]> 127.0.0.1 Git - bili_danmu/.git/commitdiff
Improve 缩小test打包
authorqydysky <qydysky@foxmail.com>
Wed, 19 Apr 2023 13:33:46 +0000 (21:33 +0800)
committerqydysky <qydysky@foxmail.com>
Wed, 19 Apr 2023 13:33:46 +0000 (21:33 +0800)
.github/workflows/test.yml

index 0e80d1ae4c6d79f3dda503d00df7b9029328e2e3..5b4af9d1a493b1b174fd0730ac5efb43b6a8b3a8 100644 (file)
@@ -53,7 +53,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 Build Artifact
       uses: actions/upload-artifact@v3
@@ -100,7 +100,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 Build Artifact
       uses: actions/upload-artifact@v3