Skip to content

Fix build workflow

Fix build workflow #3

Workflow file for this run

name: build
on: push
permissions:
contents: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0 # To use `git describe --tags`
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: '1.22'
- name: Setup Task
uses: arduino/setup-task@v2
- name: Build all
run: task build:dist:all
- name: Release
uses: softprops/action-gh-release@v2
if: startsWith(github.ref, 'refs/tags/')
with:
files: |
README.md
LICENSE
dist/**/*