Merge pull request #160 from olastor/fix-macos-build-amd64

fix: pin macos-13 as os for building amd64 binary
This commit is contained in:
Bernd Schoolmann 2024-04-28 16:04:41 +02:00 committed by GitHub
commit bbafde07fa
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -77,7 +77,7 @@ jobs:
path: ./goldwarden_linux_x86 path: ./goldwarden_linux_x86
build_macos_x86_64: build_macos_x86_64:
runs-on: macos-latest runs-on: macos-13
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v1 uses: actions/checkout@v1
@ -90,13 +90,13 @@ jobs:
uses: Homebrew/actions/setup-homebrew@master uses: Homebrew/actions/setup-homebrew@master
- name: Fido2 - name: Fido2
run: brew install libfido2 run: brew install libfido2
- name: Build - name: Build
run: go build -o "goldwarden_macos_x86_64" -v . run: go build -o "goldwarden_macos_x86_64" -v .
- uses: actions/upload-artifact@v3 - uses: actions/upload-artifact@v3
with: with:
name: goldwarden-macos_x86_64 name: goldwarden-macos_x86_64
path: ./goldwarden_macos_x86_64 path: ./goldwarden_macos_x86_64
build_macos_aarch64: build_macos_aarch64:
runs-on: macos-14 runs-on: macos-14
steps: steps:
@ -111,13 +111,13 @@ jobs:
uses: Homebrew/actions/setup-homebrew@master uses: Homebrew/actions/setup-homebrew@master
- name: Fido2 - name: Fido2
run: brew install libfido2 run: brew install libfido2
- name: Build - name: Build
run: go build -o "goldwarden_macos_aarch64" -v . run: go build -o "goldwarden_macos_aarch64" -v .
- uses: actions/upload-artifact@v3 - uses: actions/upload-artifact@v3
with: with:
name: goldwarden-macos_aarch64 name: goldwarden-macos_aarch64
path: ./goldwarden_macos_aarch64 path: ./goldwarden_macos_aarch64
build_windows_x86_64: build_windows_x86_64:
runs-on: windows-latest runs-on: windows-latest
steps: steps:
@ -132,13 +132,13 @@ jobs:
run: | run: |
scoop bucket add keys.pub https://github.com/keys-pub/scoop-bucket scoop bucket add keys.pub https://github.com/keys-pub/scoop-bucket
scoop install libfido2 scoop install libfido2
- name: Build - name: Build
run: go build -o "goldwarden_windows_x86_64.exe" -v . run: go build -o "goldwarden_windows_x86_64.exe" -v .
- uses: actions/upload-artifact@v3 - uses: actions/upload-artifact@v3
with: with:
name: goldwarden-windows_x86_64.exe name: goldwarden-windows_x86_64.exe
path: ./goldwarden_windows_x86_64.exe path: ./goldwarden_windows_x86_64.exe
build_windows_aarch64: build_windows_aarch64:
runs-on: windows-latest runs-on: windows-latest
steps: steps:
@ -148,7 +148,7 @@ jobs:
uses: actions/setup-go@v4 uses: actions/setup-go@v4
with: with:
go-version: ${{ env.GO_VERSION }} go-version: ${{ env.GO_VERSION }}
- name: Build - name: Build
run: set GOARCH=arm64 && go build -tags nofido2 -o "goldwarden_windows_aarch64.exe" -v . run: set GOARCH=arm64 && go build -tags nofido2 -o "goldwarden_windows_aarch64.exe" -v .
- uses: actions/upload-artifact@v3 - uses: actions/upload-artifact@v3
with: with: