Merge branch 'main' of https://git.fluffy.pw/leafus/s3-client
All checks were successful
Release Version / build (push) Successful in 7s

This commit is contained in:
leafus 2024-09-29 12:56:37 +02:00
commit 563b11fd33

View File

@ -34,11 +34,59 @@ jobs:
go mod tidy go mod tidy
go build -o s3-client_linux.x86_64 go build -o s3-client_linux.x86_64
- name: Build Go binary for Linux (x86)
if: env.main_go_modified == 'true'
run: |
go mod tidy
GOARCH=386 go build -o s3-client_linux.x86
- name: Build Go binary for Linux (ARM64)
if: env.main_go_modified == 'true'
run: |
go mod tidy
GOARCH=arm64 go build -o s3-client_linux.arm64
- name: Build Go binary for Mac OS (x86_64)
if: env.main_go_modified == 'true'
run: |
go mod tidy
GOOS=darwin GOARCH=386 go build -o s3-client_linux.x86
- name: Build Go binary for Mac OS (ARM64)
if: env.main_go_modified == 'true'
run: |
go mod tidy
GOOS=darwin GOARCH=arm64 go build -o s3-client_linux.arm64
- name: Build Go binary for Linux (ARMv7)
if: env.main_go_modified == 'true'
run: |
go mod tidy
GOARCH=arm go build -o s3-client_linux.armv7
- name: Build Go binary for Linux (RISC-V)
if: env.main_go_modified == 'true'
run: |
go mod tidy
GOARCH=riscv64 go build -o s3-client_linux.riscv64
- name: Build Go binary for Windows - name: Build Go binary for Windows
if: env.main_go_modified == 'true' if: env.main_go_modified == 'true'
run: | run: |
GOOS=windows GOARCH=amd64 go build -o s3-client_windows.x86_64.exe GOOS=windows GOARCH=amd64 go build -o s3-client_windows.x86_64.exe
- name: Build Go binary for Windows (x86)
if: env.main_go_modified == 'true'
run: |
go mod tidy
GOOS=windows GOARCH=386 go build -o s3-client_windows.x86.exe
- name: Build Go binary for Windows (ARM64)
if: env.main_go_modified == 'true'
run: |
go mod tidy
GOOS=windows GOARCH=arm64 go build -o s3-client_windows.arm64.exe
- name: Get latest commit ID - name: Get latest commit ID
id: get_commit id: get_commit
run: | run: |
@ -96,7 +144,14 @@ jobs:
with: with:
files: | files: |
./s3-client_linux.x86_64 ./s3-client_linux.x86_64
./s3-client_linux.x86
./s3-client_linux.armv7
./s3-client_linux.arm64
./s3-client_linux.riscv64
./s3-client_windows.x86_64.exe ./s3-client_windows.x86_64.exe
./s3-client_windows.x86.exe
./s3-client_windows.arm64.exe
tag_name: ${{ env.new_version }} tag_name: ${{ env.new_version }}
name: Release ${{ env.new_version }} name: Release ${{ env.new_version }}
body: | body: |