feat: Add error handling during project search and config parsing (#5) #11
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: Release | |
on: | |
push: | |
tags: | |
- '*' | |
branches: | |
- main | |
permissions: | |
contents: write | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- uses: extractions/setup-just@v1 | |
- name: "Set up Go" | |
uses: actions/setup-go@v5 | |
with: | |
go-version: '^1.23.1' | |
- name: Build binaries | |
run: just build | |
- name: Upload artifacts | |
uses: actions/upload-artifact@v3 | |
with: | |
name: binaries | |
path: build/fgc-* | |
- name: Create GitHub Release | |
if: startsWith(github.ref, 'refs/tags/') | |
uses: softprops/action-gh-release@v2 | |
with: | |
files: build/fgc-* | |
tag_name: ${{ github.ref_name }} | |
name: ${{ github.ref_name }} | |
generate_release_notes: true |