From 3780400fd3952ac4ee5ae8c9bbc6b7cd3da2cc23 Mon Sep 17 00:00:00 2001
From: FlameText <360326608@qq.com>
Date: Sat, 1 Jun 2024 23:47:02 +0800
Subject: [PATCH] ci: test

---
 .github/workflows/build.yml | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 41c6b66..d9a4dff 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -36,9 +36,14 @@ jobs:
         - name: Build
           run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}
 
+        - name: Compress binaries
+          uses: svenstaro/upx-action@v2
+          with:
+            file: ${{github.workspace}}/build/cpp_story_painter.exe
+
         - name: result
           uses: actions/upload-artifact@v4
           with:
             name: exe
-            path: cpp_story_painter.exe
+            path: ${{github.workspace}}/build/cpp_story_painter.exe