Skip to content

update automatic builder #6

update automatic builder

update automatic builder #6

Workflow file for this run

name: goreleaser
on:
push:
tags:
- "*"
permissions:
contents: write
jobs:
build-linux-windows:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.23' # Especifique a versão do Go conforme necessário
- name: Run GoReleaser for Linux and Windows
uses: goreleaser/goreleaser-action@v6
with:
distribution: goreleaser
version: "~> v2"
args: release --clean --skip=publish,validate --id=build-linux-windows
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
build-macos:
runs-on: macos-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.23' # Especifique a versão do Go conforme necessário
- name: Run GoReleaser for macOS
uses: goreleaser/goreleaser-action@v6
with:
distribution: goreleaser
version: "~> v2"
args: release --clean --skip=publish,validate --id=build-macos
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}