From a36652f73eda047bad8c44d2b8a503487891a065 Mon Sep 17 00:00:00 2001 From: Hu Yueh-Wei Date: Sun, 26 Jan 2025 23:06:12 +0800 Subject: [PATCH] fix: fix CI github script --- .github/workflows/build_win.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build_win.yml b/.github/workflows/build_win.yml index 90aa130f81..af3c552399 100644 --- a/.github/workflows/build_win.yml +++ b/.github/workflows/build_win.yml @@ -104,12 +104,13 @@ jobs: - name: Package assets if: startsWith(github.ref, 'refs/tags/') shell: pwsh + working-directory: out/win/x64 run: | Write-Host "Current directory: $(Get-Location)" - Compress-Archive -Path out/win/x64/ten_manager -DestinationPath tman-win-${{ matrix.build_type }}-x64.zip -CompressionLevel Optimal + Compress-Archive -Path ten_manager -DestinationPath tman-win-${{ matrix.build_type }}-x64.zip -CompressionLevel Optimal - Compress-Archive -Path out/win/x64/app/default_app_cpp, out/win/x64/ten_packages/system/ten_runtime, out/win/x64/ten_packages/extension/default_extension_cpp -DestinationPath ten_packages-win-${{ matrix.build_type }}-x64.zip -CompressionLevel Optimal + Compress-Archive -Path app/default_app_cpp, ten_packages/system/ten_runtime, ten_packages/extension/default_extension_cpp -DestinationPath ten_packages-win-${{ matrix.build_type }}-x64.zip -CompressionLevel Optimal - name: Publish to release assets uses: softprops/action-gh-release@v2