Skip to content

Commit

Permalink
Update go.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
quexten authored Feb 4, 2024
1 parent d655083 commit c8e964e
Showing 1 changed file with 19 additions and 8 deletions.
27 changes: 19 additions & 8 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down

0 comments on commit c8e964e

Please sign in to comment.