File tree Expand file tree Collapse file tree 2 files changed +3
-10
lines changed
Expand file tree Collapse file tree 2 files changed +3
-10
lines changed Original file line number Diff line number Diff line change 2222 deno task build:macos
2323 deno task build:windows
2424
25- - name : Compress binaries with UPX
26- run : |
27- sudo apt-get update
28- sudo apt-get install -y upx-ucl
29- upx --best --lzma devstream || true
30- upx --best --lzma devstream.exe || true
31-
3225 - name : Create Release
3326 uses : softprops/action-gh-release@v2
3427 with :
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 --reload -- 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 --reload -- 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 --reload -- 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 "dev" : " deno run --watch --allow-read --allow-write --allow-net --allow-env --allow-run main.ts"
3131 },
3232 "exports" : " ./mod.ts" ,
You can’t perform that action at this time.
0 commit comments