feat: add linux s390x build to release

This commit is contained in:
Toby 2022-04-08 17:36:14 -07:00
parent d0dbfdd72d
commit e72d296518

View file

@ -35,7 +35,7 @@ jobs:
go_version: 1.17
dest: dist
prefix: hysteria-tun
targets: linux/amd64,linux/386,linux/arm-5,linux/arm-7,linux/arm64,linux/mipsle,darwin-10.12/amd64,darwin-10.12/arm64,windows-6.0/amd64,windows-6.0/386
targets: linux/amd64,linux/386,linux/arm-5,linux/arm-7,linux/arm64,linux/s390x,linux/mipsle,darwin-10.12/amd64,darwin-10.12/arm64,windows-6.0/amd64,windows-6.0/386
ldflags: -w -s -X main.appVersion=${{ env.GIT_TAG_NAME }} -X main.appCommit=${{ github.sha }} -X main.appDate=${{ env.TIME }}
pkg: cmd
@ -48,7 +48,7 @@ jobs:
name: hysteria
dest: dist
ldflags: -w -s -X main.appVersion=${{ env.GIT_TAG_NAME }} -X main.appCommit=${{ github.sha }} -X main.appDate=${{ env.TIME }}
platforms: 'linux/amd64, linux/386, linux/arm, linux/arm64, linux/mipsle'
platforms: 'linux/amd64, linux/386, linux/arm, linux/arm64, linux/s390x, linux/mipsle'
package: cmd
compress: false
@ -69,6 +69,7 @@ jobs:
./dist/hysteria-tun-linux-arm-5
./dist/hysteria-tun-linux-arm-7
./dist/hysteria-tun-linux-arm64
./dist/hysteria-tun-linux-s390x
./dist/hysteria-tun-linux-mipsle
./dist/hysteria-tun-darwin-10.12-amd64
./dist/hysteria-tun-darwin-10.12-arm64