From 7b00d56c66a6acde13a0c96da9ad5f7477855abf Mon Sep 17 00:00:00 2001 From: Sebastian Date: Sun, 28 Apr 2024 14:10:33 +0200 Subject: [PATCH] fix: pin macos-13 as os for building amd64 binary --- .github/workflows/go.yml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index ca33e0c..ccda026 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -77,7 +77,7 @@ jobs: path: ./goldwarden_linux_x86 build_macos_x86_64: - runs-on: macos-latest + runs-on: macos-13 steps: - name: Checkout uses: actions/checkout@v1 @@ -90,13 +90,13 @@ jobs: uses: Homebrew/actions/setup-homebrew@master - name: Fido2 run: brew install libfido2 - - name: Build + - name: Build run: go build -o "goldwarden_macos_x86_64" -v . - uses: actions/upload-artifact@v3 with: name: goldwarden-macos_x86_64 path: ./goldwarden_macos_x86_64 - + build_macos_aarch64: runs-on: macos-14 steps: @@ -111,13 +111,13 @@ jobs: uses: Homebrew/actions/setup-homebrew@master - name: Fido2 run: brew install libfido2 - - name: Build + - name: Build run: go build -o "goldwarden_macos_aarch64" -v . - uses: actions/upload-artifact@v3 with: name: goldwarden-macos_aarch64 - path: ./goldwarden_macos_aarch64 - + path: ./goldwarden_macos_aarch64 + build_windows_x86_64: runs-on: windows-latest steps: @@ -132,13 +132,13 @@ jobs: run: | scoop bucket add keys.pub https://github.com/keys-pub/scoop-bucket scoop install libfido2 - - name: Build + - name: Build run: go build -o "goldwarden_windows_x86_64.exe" -v . - uses: actions/upload-artifact@v3 with: name: goldwarden-windows_x86_64.exe path: ./goldwarden_windows_x86_64.exe - + build_windows_aarch64: runs-on: windows-latest steps: @@ -148,7 +148,7 @@ jobs: uses: actions/setup-go@v4 with: go-version: ${{ env.GO_VERSION }} - - name: Build + - name: Build run: set GOARCH=arm64 && go build -tags nofido2 -o "goldwarden_windows_aarch64.exe" -v . - uses: actions/upload-artifact@v3 with: