add 32 bit arm to workflow

This commit is contained in:
matu6968 2024-10-01 13:31:26 +02:00
parent 52a86492cd
commit 07f65faec3

View File

@ -28,6 +28,11 @@ jobs:
go mod tidy
GOARCH=386 go build -o s3-client-web_linux.x86
- name: Build Go binary for Linux (ARMv7)
run: |
go mod tidy
GOARCH=arm go build -o s3-client-web_linux.armv7
- name: Build Go binary for Linux (ARM64)
run: |
go mod tidy
@ -42,6 +47,7 @@ jobs:
run: |
tar -czvf s3-client-web-linux.x86_64.tar.gz s3-client-web_linux.x86_64 web
tar -czvf s3-client-web-linux.x86.tar.gz s3-client-web_linux.x86 web
tar -czvf s3-client-web-linux.x86_64.tar.gz s3-client-web_linux.armv7 web
tar -czvf s3-client-web-linux.arm64.tar.gz s3-client-web_linux.arm64 web
tar -czvf s3-client-web-linux.riscv64.tar.gz s3-client-web_linux.riscv64 web
@ -102,6 +108,7 @@ jobs:
./s3-client-web-linux.x86_64.tar.gz
./s3-client-web-linux.x86.tar.gz
./s3-client-web-linux.arm64.tar.gz
./s3-client-web-linux.armv7.tar.gz
./s3-client-web-linux.riscv64.tar.gz
tag_name: ${{ env.new_version }}