File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Release
2+ on :
3+ push :
4+ tags : ["v*"]
5+
6+ jobs :
7+ release :
8+ runs-on : ubuntu-latest
9+ steps :
10+ - uses : actions/checkout@v3
11+ - uses : denoland/setup-deno@v2
12+ with :
13+ deno-version : lts
14+
15+ - name : Build Binaries
16+ run : |
17+ deno task build:linux
18+ deno task build:macos
19+ deno task build:windows
20+
21+ - name : Create Release
22+ uses : softprops/action-gh-release@v1
23+ with :
24+ tag_name : ${{ github.ref }}
25+ files : |
26+ devstream
27+ devstream.exe
28+ devstream.darwin
29+ env :
30+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
31+ continue-on-error : true
32+
33+ - name : Upload Release Assets
34+ uses : actions/upload-artifact@v3
35+ with :
36+ name : release-assets
37+ path : ./dist
Original file line number Diff line number Diff line change 2424 "singleQuote" : false
2525 },
2626 "tasks" : {
27+ "build:linux" : " deno compile -A --target x86_64-unknown-linux-gnu --output devstream main.ts" ,
28+ "build:macos" : " deno compile -A --target x86_64-apple-darwin --output devstream.darwin main.ts" ,
29+ "build:windows" : " deno compile -A --target x86_64-pc-windows-msvc --output devstream.exe main.ts" ,
2730 "test" : " deno test --allow-all" ,
2831 "lint" : " deno lint --allow-all" ,
29- "format" : " deno fmt --allow-all " ,
32+ "format" : " deno fmt" ,
3033 "dev" : " deno run --watch --allow-read --allow-write --allow-net --allow-env --allow-run main.ts"
3134 },
3235 "exports" : " ./mod.ts" ,
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments