From 594fd2c616c0e899e3480cdf2e4d21d562be0ba9 Mon Sep 17 00:00:00 2001 From: Renato Lima <4236481+natenho@users.noreply.github.com> Date: Mon, 1 May 2023 16:41:11 -0300 Subject: [PATCH] Generate binaries for OS X and ARM64 --- .github/workflows/go.yml | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 6e0c356..34ad3a1 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -22,11 +22,23 @@ jobs: run: go mod download - name: Build for Windows - run: GOOS=windows go build -o go-jira-migrate.exe . + run: GOOS=windows GOARCH=amd64 go build -o go-jira-migrate_windows_amd64.exe . + + - name: Build for Windows ARM + run: GOOS=windows GOARCH=amd64 go build -o go-jira-migrate_windows_arm64.exe . - name: Build for Linux - run: GOOS=linux go build -o go-jira-migrate . + run: GOOS=linux GOARCH=amd64 go build -o go-jira-migrate_linux_amd64 . + - name: Build for Linux ARM + run: GOOS=linux GOARCH=amd64 go build -o go-jira-migrate_linux_arm64 . + + - name: Build for OS X + run: GOOS=darwin GOARCH=amd64 go build -o go-jira-migrate_darwin_amd64 . + + - name: Build for OS X ARM + run: GOOS=darwin GOARCH=arm64 go build -o go-jira-migrate_darwin_arm64 . + - name: Tag Release id: tag_release uses: mathieudutour/github-tag-action@v6.1