Skip to content

Update readme with usage, limitation, and contribution guidelines #3

Update readme with usage, limitation, and contribution guidelines

Update readme with usage, limitation, and contribution guidelines #3

Workflow file for this run

name: Release
on:
push:
tags:
- "v*"
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: "1.23"
- name: Build
run: |
# Windows
GOOS=windows GOARCH=amd64 go build -trimpath -o restoration-windows-amd64.exe
# Linux
GOOS=linux GOARCH=amd64 go build -trimpath -o restoration-linux-amd64
# MacOS Intel
GOOS=darwin GOARCH=amd64 go build -trimpath -o restoration-darwin-amd64
# MacOS ARM
GOOS=darwin GOARCH=arm64 go build -trimpath -o restoration-darwin-arm64
- name: Create Release
uses: softprops/action-gh-release@v2
with:
files: |
restoration-windows-amd64.exe
restoration-linux-amd64
restoration-darwin-amd64
restoration-darwin-arm64
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}