File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1616
1717 - uses : actions/setup-go@v5
1818 with :
19- go-version : ' 1.25 '
19+ go-version : ' 1.26 '
2020
2121 - name : Run tests
2222 run : go test ./...
4949 go build -ldflags="$LDFLAGS" -o "$output" ./cmd/dssh/
5050 done
5151
52+ - name : Compress Linux binaries with UPX
53+ run : |
54+ sudo apt-get update && sudo apt-get install -y upx
55+ for f in dist/dssh-linux-*; do
56+ echo "Compressing $f..."
57+ upx --best "$f" || echo "UPX failed for $f, using uncompressed"
58+ done
59+
5260 - name : Create GitHub Release
5361 uses : softprops/action-gh-release@v2
5462 with :
Original file line number Diff line number Diff line change 1- # Binaries
2- dssh
3- dssh- *
41* .exe
52dist /
63
7- # Go
84vendor /
95
10- # IDE
116.idea /
127.vscode /
138* .swp
149* .swo
1510
16- # OS
1711.DS_Store
1812Thumbs.db
1913
20- # Project
21- * .png
22- * .tape
14+ push-release.sh
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ package main
2+
3+ import "github.com/madLinux7/dssh/internal/cli"
4+
5+ var version = "dev"
6+
7+ func main () {
8+ cli .Execute (version )
9+ }
You can’t perform that action at this time.
0 commit comments