Add more build artifacts
This commit is contained in:
parent
e6f44bceb3
commit
d1bf3d2f2e
1 changed files with 37 additions and 1 deletions
38
.github/workflows/go.yml
vendored
38
.github/workflows/go.yml
vendored
|
|
@ -26,8 +26,35 @@ jobs:
|
||||||
run: go build -v .
|
run: go build -v .
|
||||||
- name: Test
|
- name: Test
|
||||||
run: go test -v .
|
run: go test -v .
|
||||||
|
- uses: actions/upload-artifact@v3
|
||||||
|
with:
|
||||||
|
name: goldwarden-linux
|
||||||
|
path: ./goldwarden
|
||||||
|
|
||||||
|
linux-packaging:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
needs: linux
|
||||||
|
steps:
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v2
|
||||||
|
- name: Download build artifact
|
||||||
|
uses: actions/download-artifact@v2
|
||||||
|
- name: Makepkg build and check
|
||||||
|
id: makepkg
|
||||||
|
uses: edlanglois/pkgbuild-action@v1
|
||||||
|
- name: Convert to deb
|
||||||
|
uses: bpicode/github-action-fpm@master
|
||||||
|
with:
|
||||||
|
fpm_args: './build'
|
||||||
|
fpm_opts: '--debug -n goldwarden -t deb -s pacman'
|
||||||
|
- name: Convert to rpm
|
||||||
|
uses: bpicode/github-action-fpm@master
|
||||||
|
with:
|
||||||
|
fpm_args: './build'
|
||||||
|
fpm_opts: '--debug -n goldwarden -t rpm -s pacman'
|
||||||
|
|
||||||
macos:
|
macos:
|
||||||
runs-on: macOS-latest
|
runs-on: macos-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v1
|
uses: actions/checkout@v1
|
||||||
|
|
@ -39,6 +66,11 @@ jobs:
|
||||||
run: go build -tags "nofido2 noautofill" -v .
|
run: go build -tags "nofido2 noautofill" -v .
|
||||||
- name: Test
|
- name: Test
|
||||||
run: go test -tags "nofido2 noautofill" -v .
|
run: go test -tags "nofido2 noautofill" -v .
|
||||||
|
- uses: actions/upload-artifact@v3
|
||||||
|
with:
|
||||||
|
name: goldwarden-macos
|
||||||
|
path: ./goldwarden
|
||||||
|
|
||||||
windows:
|
windows:
|
||||||
runs-on: windows-latest
|
runs-on: windows-latest
|
||||||
steps:
|
steps:
|
||||||
|
|
@ -52,3 +84,7 @@ jobs:
|
||||||
run: go build -tags "nofido2 noautofill" -v .
|
run: go build -tags "nofido2 noautofill" -v .
|
||||||
- name: Test
|
- name: Test
|
||||||
run: go test -tags "nofido2 noautofill" -v .
|
run: go test -tags "nofido2 noautofill" -v .
|
||||||
|
- uses: actions/upload-artifact@v3
|
||||||
|
with:
|
||||||
|
name: goldwarden-windows.exe
|
||||||
|
path: ./goldwarden.exe
|
||||||
Loading…
Reference in a new issue