mirror of
https://github.com/quexten/goldwarden.git
synced 2024-12-17 23:51:42 +03:00
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:
commit
bbafde07fa
18
.github/workflows/go.yml
vendored
18
.github/workflows/go.yml
vendored
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user