Skip to content

Commit 4b57cfd

Browse files
committed
chore: fixed release github workflow
1 parent 8574a10 commit 4b57cfd

File tree

2 files changed

+3
-10
lines changed

2 files changed

+3
-10
lines changed

.github/workflows/release.yml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,6 @@ jobs:
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:

deno.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@
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",

0 commit comments

Comments
 (0)