Skip to content

fix: fallback to CWD/.bin when no git repo or envs (#108) #202

fix: fallback to CWD/.bin when no git repo or envs (#108)

fix: fallback to CWD/.bin when no git repo or envs (#108) #202

Workflow file for this run

name: Build
on:
push:
branches: [main]
paths:
- 'cmd/**'
- 'pkg/**'
- 'test/**'
- 'go.mod'
- 'go.sum'
pull_request:
paths:
- 'cmd/**'
- 'pkg/**'
- 'test/**'
- 'go.mod'
- 'go.sum'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version-file: go.mod
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v5
with:
version: latest
args: release --clean --snapshot --skip=sign
- uses: actions/upload-artifact@v4
with:
name: Preview Binaries
path: dist/b-*/b