File tree Expand file tree Collapse file tree 3 files changed +23
-1
lines changed
Expand file tree Collapse file tree 3 files changed +23
-1
lines changed Original file line number Diff line number Diff line change 3434 env :
3535 BUN_AUTH_TOKEN : ${{secrets.NPM_TOKEN}}
3636
37+ - name : Compile Binaries
38+ run : bun run compile:all
39+
3740 - name : Create GitHub release
3841 run : bunx changelogithub
3942 env :
4043 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 1313docs /.vitepress /cache
1414storage
1515fixtures /generated
16- dtsx
16+ bin / dtsx *
Original file line number Diff line number Diff line change 4242 "scripts" : {
4343 "build" : " bun build.ts && bun run compile" ,
4444 "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" ,
4551 "lint" : " bunx eslint ." ,
4652 "lint:fix" : " bunx eslint . --fix" ,
4753 "fresh" : " bunx rimraf node_modules/ bun.lock && bun i" ,
You can’t perform that action at this time.
0 commit comments