File tree 3 files changed +23
-1
lines changed
3 files changed +23
-1
lines changed Original file line number Diff line number Diff line change 34
34
env :
35
35
BUN_AUTH_TOKEN : ${{secrets.NPM_TOKEN}}
36
36
37
+ - name : Compile Binaries
38
+ run : bun run compile:all
39
+
37
40
- name : Create GitHub release
38
41
run : bunx changelogithub
39
42
env :
40
43
GITHUB_TOKEN : ${{secrets.GITHUB_TOKEN}}
44
+
45
+ - name : Attach Binaries
46
+ uses : softprops/action-gh-release@v2
47
+ with :
48
+ body_path : CHANGELOG.md
49
+ files : |
50
+ bin/dtsx-linux-x64
51
+ bin/dtsx-linux-arm64
52
+ bin/dtsx-windows-x64.exe
53
+ bin/dtsx-darwin-x64
54
+ bin/dtsx-darwin-arm64
55
+ env :
56
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 13
13
docs /.vitepress /cache
14
14
storage
15
15
fixtures /generated
16
- dtsx
16
+ bin / dtsx *
Original file line number Diff line number Diff line change 42
42
"scripts" : {
43
43
"build" : " bun build.ts && bun run compile" ,
44
44
"compile" : " bun build ./bin/cli.ts --compile --minify --outfile bin/dtsx" ,
45
+ "compile:all" : " bun run compile:linux-x64 && bun run compile:linux-arm64 && bun run compile:windows-x64 && bun run compile:darwin-x64 && bun run compile:darwin-arm64" ,
46
+ "compile:linux-x64" : " bun build ./bin/cli.ts --compile --minify --target=bun-linux-x64 --outfile bin/dtsx-linux-x64" ,
47
+ "compile:linux-arm64" : " bun build ./bin/cli.ts --compile --minify --target=bun-linux-arm64 --outfile bin/dtsx-linux-arm64" ,
48
+ "compile:windows-x64" : " bun build ./bin/cli.ts --compile --minify --target=bun-windows-x64 --outfile bin/dtsx-windows-x64.exe" ,
49
+ "compile:darwin-x64" : " bun build ./bin/cli.ts --compile --minify --target=bun-darwin-x64 --outfile bin/dtsx-darwin-x64" ,
50
+ "compile:darwin-arm64" : " bun build ./bin/cli.ts --compile --minify --target=bun-darwin-arm64 --outfile bin/dtsx-darwin-arm64" ,
45
51
"lint" : " bunx eslint ." ,
46
52
"lint:fix" : " bunx eslint . --fix" ,
47
53
"fresh" : " bunx rimraf node_modules/ bun.lock && bun i" ,
You can’t perform that action at this time.
0 commit comments