Skip to content

tweaks

tweaks #45

Workflow file for this run

name: goreleaser
on:
push:
branches:
- 'buildsystem/*'
tags:
- '*'
permissions:
contents: write
# packages: write
# issues: write
jobs:
goreleaser:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
fetch-tags: true
- run: git fetch --force --tags
- uses: actions/setup-go@v4
with:
go-version: '1.21'
- run: |
for os in linux darwin openbsd ; do
for arch in amd64 arm64 ; do
GOARCH=${arch} GOOS=${os} make build
mv build unixtools-$os-$arch
done
done
# - uses: goreleaser/goreleaser-action@v4
# with:
# distribution: goreleaser
# version: latest
# args: release --verbose -f .goreleaser.yaml
# env:
# GITHUB_TOKEN: ${{ secrets.GORELEASER_TOKEN }}