feat: filter by key/type #13
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Registry Finder Build | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
jobs: | |
build: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: '1.22.5' | |
- name: Set Go OS | |
run: set GOOS=windows | |
- name: Set Go Arch | |
run: set GOARCH=amd64 | |
- name: Install go-winres | |
run: go install github.com/tc-hib/go-winres@latest | |
- name: Make go-winres | |
run: go-winres make . | |
- name: Build Executable | |
run: go build -a -o registry-finder-gui.exe -ldflags="-s -w -H windowsgui -extldflags '-O2'" . | |
- name: Upload Build | |
uses: actions/upload-artifact@v4 | |
with: | |
name: registry-finder-gui | |
path: registry-finder-gui.exe |