Skip to content

updated build for mac and windows + npm wrapper now tracks the version #12

updated build for mac and windows + npm wrapper now tracks the version

updated build for mac and windows + npm wrapper now tracks the version #12

Workflow file for this run

on:
push:
tags:
- '*'
jobs:
release:
strategy:
matrix:
include:
- os: ubuntu-latest
config: '.goreleaser.linux.yml'
- os: macos-latest
config: '.goreleaser.darwin.yml'
- os: windows-latest
config: '.goreleaser.windows.yml'
runs-on: ${{ matrix.os }}
steps:
- name: Checkout code
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.22.0'
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v4
with:
version: latest
args: release --config ${{ matrix.config }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}