Add minimal feature build

This commit is contained in:
Bernd Schoolmann 2023-08-21 20:02:08 +02:00 committed by GitHub
parent 16bfa32203
commit 1bb1cff483
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 3 deletions

View File

@ -23,13 +23,19 @@ jobs:
- name: Install gio dependencies
run: sudo apt-get install -y gcc pkg-config libwayland-dev libx11-dev libx11-xcb-dev libxkbcommon-x11-dev libgles2-mesa-dev libegl1-mesa-dev libffi-dev libxcursor-dev libvulkan-dev
- name: Build with Autofill
run: go build -tags autofill -o goldwarden -v .
- name: Build with All features
run: go build -o goldwarden -v .
- uses: AButler/upload-release-assets@v2.0
with:
files: './goldwarden'
repo-token: ${{ secrets.GITHUB_TOKEN }}
- name: Build minimal featureset
run: go build -tags nofido2 -tags noautofill -o goldwarden-minimal -v .
- uses: AButler/upload-release-assets@v2.0
with:
files: './goldwarden-minimal'
repo-token: ${{ secrets.GITHUB_TOKEN }}
- name: Validate ArchLinux PKGBUILD
uses: hapakaien/archlinux-package-action@v2