Skip to content

Update release.yaml #11

Update release.yaml

Update release.yaml #11

Workflow file for this run

name: Create Release 📦
on:
push:
tags:
- 'v[0-9]+.[0-9]+.[0-9]+'
jobs:
changelog:
runs-on: ubuntu-latest
steps:
- name: Checkout code ⚙️
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Build Release 🛠 (Windows)
uses: wangyoucao577/go-release-action@v1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
pre_command: go mod tidy
goos: windows
goarch: amd64
project_path: "./src"
env:
CGO_ENABLED: 0
- name: Build Release 🛠 (macOS)
uses: wangyoucao577/go-release-action@v1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
pre_command: go mod tidy
goos: darwin
goarch: amd64
project_path: "./src"
env:
CGO_ENABLED: 1