Skip to content

tweak(cfgwriter): added ensure chat to template #5

tweak(cfgwriter): added ensure chat to template

tweak(cfgwriter): added ensure chat to template #5

Workflow file for this run

name: Release Build
on:
push:
tags:
- 'v[0-9]+.[0-9]+.[0-9]+'
permissions:
contents: write
jobs:
build-and-release:
name: Build and Release
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: 'stable'
cache: true
- name: Download Dependencies
run: go mod download
- name: Build for Linux (amd64)
run: |
GOOS=linux GOARCH=amd64 go build -trimpath -ldflags="-s -w" -o build/fxmanager-installer-linux-amd64 .
- name: Build for Windows (amd64)
run: |
GOOS=windows GOARCH=amd64 go build -trimpath -ldflags="-s -w" -o build/fxmanager-installer-windows-amd64.exe .
- name: Create Release & Upload Binaries
uses: softprops/action-gh-release@v2
with:
generate_release_notes: true
files: |
build/fxmanager-installer-linux-amd64
build/fxmanager-installer-windows-amd64.exe