Skip to content

chore: fix goarch values #15

chore: fix goarch values

chore: fix goarch values #15

Workflow file for this run

name: cd
on:
push:
tags:
- 'v*'
permissions:
contents: write
jobs:
cd:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ${{ github.workspace }}
steps:
- name: checkout-code
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: set-up-go
uses: actions/setup-go@v5
with:
go-version: 'stable'
- name: build
run: make
- name: generate-changelog
id: changelog
run: |
changelog=$(./changelog.sh)
echo "::set-output name=changelog::$changelog"
- name: release
uses: softprops/action-gh-release@v2
with:
files: |
lenv-linux-amd64
lenv-linux-arm64
lenv-windows-amd64.exe
lenv-windows-arm64.exe
lenv-darwin-amd64
lenv-darwin-arm64
lenv-freebsd-amd64
lenv-freebsd-arm64
lenv-openbsd-amd64
lenv-openbsd-arm64
LICENSE
body: ${{ steps.changelog.outputs.changelog }}