From 3b6b63ab5e6c4070c7e7d81db3180bcac8348eee Mon Sep 17 00:00:00 2001 From: Hu Yueh-Wei Date: Sun, 26 Jan 2025 23:07:01 +0800 Subject: [PATCH] fix: fix CI github script (#623) --- .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 90aa130f8..af3c55239 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