File tree Expand file tree Collapse file tree 2 files changed +12
-3
lines changed
Expand file tree Collapse file tree 2 files changed +12
-3
lines changed Original file line number Diff line number Diff line change 2121 deno task build:linux
2222 deno task build:macos
2323 deno task build:windows
24+ - name: Compress binaries with UPX
25+
26+ - name : Compress binaries with UPX
27+ run : |
28+ sudo apt-get update
29+ sudo apt-get install -y upx-ucl
30+ upx --best --lzma devstream || true
31+ upx --best --lzma devstream.exe || true
32+ # Note: UPX doesn't work well with macOS binaries
2433
2534 - name : Create Release
2635 uses : softprops/action-gh-release@v2
Original file line number Diff line number Diff line change 2424 "singleQuote" : false
2525 },
2626 "tasks" : {
27- "build:linux" : " deno compile --no-npm --no-check -A --target=x86_64-unknown-linux-gnu --output=devstream main.ts" ,
28- "build:macos" : " deno compile --no-npm --no-check -A --target=x86_64-apple-darwin --output=devstream.darwin main.ts" ,
29- "build:windows" : " deno compile --no-npm --no-check -A --target=x86_64-pc-windows-msvc --output=devstream.exe main.ts" ,
27+ "build:linux" : " deno compile --no-npm --no-check --allow-read --allow-write --allow-net --allow-env --allow-run --target=x86_64-unknown-linux-gnu --output=devstream main.ts" ,
28+ "build:macos" : " deno compile --no-npm --no-check --allow-read --allow-write --allow-net --allow-env --allow-run --target=x86_64-apple-darwin --output=devstream.darwin main.ts" ,
29+ "build:windows" : " deno compile --no-npm --no-check --allow-read --allow-write --allow-net --allow-env --allow-run --target=x86_64-pc-windows-msvc --output=devstream.exe main.ts" ,
3030 "test" : " deno test --allow-all" ,
3131 "lint" : " deno lint --allow-all" ,
3232 "format" : " deno fmt" ,
You can’t perform that action at this time.
0 commit comments