Skip to content

chore: remove anchor underline #15

chore: remove anchor underline

chore: remove anchor underline #15

name: Build and Release
on:
push:
tags:
- "v*.*.*"
jobs:
build-and-release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: 'stable'
- name: Install dependencies
run: go get .
- name: Build for Linux amd64
run: GOOS=linux GOARCH=amd64 go build -v -ldflags="-w -s" -o homedash-linux-amd64 .
- name: Build for Linux arm64
run: GOOS=linux GOARCH=arm64 go build -v -ldflags="-w -s" -o homedash-linux-arm64 .
- name: Set up Git
run: |
git config --local user.email "[email protected]"
git config --local user.name "GitHub Action"
- name: "Build Changelog"
id: build_changelog
uses: mikepenz/release-changelog-builder-action@v5
- name: Release
uses: softprops/action-gh-release@v2
with:
files: ./homedash-*
generate_release_notes: true
append_body: true
body: "${{steps.build_changelog.outputs.changelog}}"