diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index c9bcf32..ebf95e0 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -60,6 +60,22 @@ jobs: path: ./goldwarden_linux_x86 build_macos_x86_64: + runs-on: macos-latest + steps: + - name: Checkout + uses: actions/checkout@v1 + - name: Set up Go + uses: actions/setup-go@v4 + with: + go-version: ${{ env.GO_VERSION }} + - name: Build + run: go build -tags nofido2 -o "goldwarden_macos_x86_64" -v . + - uses: actions/upload-artifact@v3 + with: + name: goldwarden-macos_x86_64 + path: ./goldwarden_macos_x86_64 + + build_macos_x86_64_fido2: runs-on: macos-latest steps: - name: Checkout @@ -77,8 +93,8 @@ jobs: 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 + name: goldwarden-macos_x86_64_fido2 + path: ./goldwarden_macos_x86_64_fido2 build_macos_aarch64: runs-on: macos-14 @@ -89,13 +105,8 @@ jobs: uses: actions/setup-go@v4 with: go-version: ${{ env.GO_VERSION }} - - name: Set up Homebrew - id: set-up-homebrew - uses: Homebrew/actions/setup-homebrew@master - - name: Fido2 - run: brew install libfido2 - name: Build - run: go build -o "goldwarden_macos_aarch64" -v . + run: go build -tags nofido2 -o "goldwarden_macos_aarch64" -v . - uses: actions/upload-artifact@v3 with: name: goldwarden-macos_aarch64