From cc6798717fff0c1a17ee80255c5acace47d63b1b Mon Sep 17 00:00:00 2001 From: tadeasf Date: Wed, 14 Aug 2024 03:58:42 +0200 Subject: [PATCH] chore: Add support for building the application for ARM64 architecture This commit adds the necessary build steps to compile the application for the ARM64 architecture on both Linux and macOS. This ensures compatibility with ARM64-based systems and expands the range of platforms the application can run on. --- .github/workflows/create-release.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/create-release.yml b/.github/workflows/create-release.yml index 7efb815..e086f4a 100644 --- a/.github/workflows/create-release.yml +++ b/.github/workflows/create-release.yml @@ -49,6 +49,8 @@ jobs: GOOS=linux GOARCH=amd64 go build -v -o build/go_news_api_linux_amd64 . GOOS=darwin GOARCH=amd64 go build -v -o build/go_news_api_darwin_amd64 . GOOS=windows GOARCH=amd64 go build -v -o build/go_news_api_windows_amd64.exe . + GOOS=linux GOARCH=aarch64 go build -v -o build/go_news_api_linux_arm64 . + GOOS=darwin GOARCH=aarch64 go build -v -o build/go_news_api_darwin_arm64 . - name: Bump version and push tag id: tag_version