fix Mac OS target
All checks were successful
Release Version / build (push) Successful in 7s

This commit is contained in:
matu6968 2024-09-29 12:58:52 +02:00
parent 563b11fd33
commit a9f0f3cbbc

View File

@ -50,13 +50,13 @@ jobs:
if: env.main_go_modified == 'true' if: env.main_go_modified == 'true'
run: | run: |
go mod tidy go mod tidy
GOOS=darwin GOARCH=386 go build -o s3-client_linux.x86 GOOS=darwin GOARCH=386 go build -o s3-client_darwin.x86_64.app
- name: Build Go binary for Mac OS (ARM64) - name: Build Go binary for Mac OS (ARM64)
if: env.main_go_modified == 'true' if: env.main_go_modified == 'true'
run: | run: |
go mod tidy go mod tidy
GOOS=darwin GOARCH=arm64 go build -o s3-client_linux.arm64 GOOS=darwin GOARCH=arm64 go build -o s3-client_darwin.arm64.app
- name: Build Go binary for Linux (ARMv7) - name: Build Go binary for Linux (ARMv7)
if: env.main_go_modified == 'true' if: env.main_go_modified == 'true'
@ -151,6 +151,8 @@ jobs:
./s3-client_windows.x86_64.exe ./s3-client_windows.x86_64.exe
./s3-client_windows.x86.exe ./s3-client_windows.x86.exe
./s3-client_windows.arm64.exe ./s3-client_windows.arm64.exe
./s3-client_darwin.x86_64.app
./s3-client_darwin.arm64.app
tag_name: ${{ env.new_version }} tag_name: ${{ env.new_version }}
name: Release ${{ env.new_version }} name: Release ${{ env.new_version }}