From a5cbda400fe7ccc9155342e0d384b2d6734f9074 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=BE=89=E9=B8=AD=E8=9B=8B?= Date: Fri, 24 Jan 2025 17:01:03 +0800 Subject: [PATCH] Update publish.yml --- .github/workflows/publish.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 9e8c557..9f85735 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -168,10 +168,12 @@ jobs: with: name: BetterGI_7z path: dist - - name: Unpack BetterGI_*.7z + - name: Unpack BetterGI_*.7z & Repack run: | cd dist 7z x "BetterGI_v${{ needs.build_dist.outputs.version }}.7z" + cd BetterGI + 7z a -t7z "..\..\publish.7z" * - name: 📥 Download MicaSetup # run: | # $response = Invoke-RestMethod -Uri "https://api.github.com/repos/lemutec/MicaSetup/releases/latest" @@ -190,7 +192,6 @@ jobs: foreach ($archive in $archiveFiles) { & 7z x $archive.FullName } - 7z a -t7z "publish.7z" -w"dist/BetterGI" * .\makemica.exe micasetup.json ren BetterGI_Setup.exe BetterGI_Setup_v${{ needs.build_dist.outputs.version }}.exe - uses: actions/upload-artifact@v4