Skip to content

add cgo_enabled env

add cgo_enabled env #4

Workflow file for this run

name: Release
on:
push:
tags:
- '*'
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: actions/setup-go@v4
with:
go-version: "^1.24"
- uses: goreleaser/goreleaser-action@v4
with:
version: latest
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CGO_ENABLED: 0
- uses: actions/upload-artifact@v4
with:
name: deploys
path: dist/*
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}