Add more build artifacts

This commit is contained in:
Bernd Schoolmann 2023-09-19 22:56:27 +02:00
parent e6f44bceb3
commit d1bf3d2f2e
No known key found for this signature in database
1 changed files with 37 additions and 1 deletions

View File

@ -26,8 +26,35 @@ jobs:
run: go build -v .
- name: Test
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:
runs-on: macOS-latest
runs-on: macos-latest
steps:
- name: Checkout
uses: actions/checkout@v1
@ -39,6 +66,11 @@ jobs:
run: go build -tags "nofido2 noautofill" -v .
- name: Test
run: go test -tags "nofido2 noautofill" -v .
- uses: actions/upload-artifact@v3
with:
name: goldwarden-macos
path: ./goldwarden
windows:
runs-on: windows-latest
steps:
@ -52,3 +84,7 @@ jobs:
run: go build -tags "nofido2 noautofill" -v .
- name: Test
run: go test -tags "nofido2 noautofill" -v .
- uses: actions/upload-artifact@v3
with:
name: goldwarden-windows.exe
path: ./goldwarden.exe