File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -336,7 +336,20 @@ jobs:
336336 - name : Create Tar.GZ of Linux Asset
337337 working-directory : ${{github.workspace}}/__build
338338 shell : sh
339- run : tar -czvhf ../tsc.tar.gz ./tsc/ninja/release/bin/tsc ./tsc/ninja/release/lib/libTypeScriptRuntime.so ./gc/ninja/release/libgc.a ./tsc/ninja/release/lib/libTypeScriptAsyncRuntime.a ../3rdParty/llvm/release/bin/wasm-ld ../3rdParty/llvm/release/lib/libLLVMSupport.a ../3rdParty/llvm/release/lib/libLLVMDemangle.a -C ../TypeScriptCompilerDefaultLib/__build/release .
339+ # Match the Windows zip layout: flatten all binaries into the archive
340+ # root, then add the default library release contents at the root too.
341+ run : |
342+ rm -rf ./__stage
343+ mkdir -p ./__stage
344+ cp ./tsc/ninja/release/bin/tsc ./__stage/
345+ cp ./tsc/ninja/release/lib/libTypeScriptRuntime.so ./__stage/
346+ cp ./gc/ninja/release/libgc.a ./__stage/
347+ cp ./tsc/ninja/release/lib/libTypeScriptAsyncRuntime.a ./__stage/
348+ cp ../3rdParty/llvm/release/bin/wasm-ld ./__stage/
349+ cp ../3rdParty/llvm/release/lib/libLLVMSupport.a ./__stage/
350+ cp ../3rdParty/llvm/release/lib/libLLVMDemangle.a ./__stage/
351+ cp -r ../TypeScriptCompilerDefaultLib/__build/release/. ./__stage/
352+ tar -czvhf ../tsc.tar.gz -C ./__stage .
340353
341354 - name : Archive Tar.GZ of Linux Asset
342355 uses : actions/upload-artifact@v4
You can’t perform that action at this time.
0 commit comments