Skip to content

implement config merge logic with defaults and env overrides #10

implement config merge logic with defaults and env overrides

implement config merge logic with defaults and env overrides #10

Workflow file for this run

name: Release
on:
push:
tags:
- 'v*'
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: '1.21'
- name: Build binaries
run: |
GOOS=darwin GOARCH=amd64 go build -o forage-darwin-amd64
GOOS=darwin GOARCH=arm64 go build -o forage-darwin-arm64
GOOS=linux GOARCH=amd64 go build -o forage-linux-amd64
GOOS=windows GOARCH=amd64 go build -o forage-windows-amd64.exe
- name: Create Release
uses: softprops/action-gh-release@v1
with:
files: |
forage-darwin-amd64
forage-darwin-arm64
forage-linux-amd64
forage-windows-amd64.exe
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}