Skip to content

fix: cmd

fix: cmd #3

Workflow file for this run

name: cmd
permissions:
contents: write
actions: read
id-token: write
defaults:
run:
shell: bash
on:
push:
tags:
- "v*.*.*"
jobs:
build:
timeout-minutes: 15
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 1
persist-credentials: false
- name: Setup Go
timeout-minutes: 15
uses: actions/setup-go@v5
with:
go-version: "1.22.3"
cache-dependency-path: |
**/go.sum
- name: Make
run: make build
env:
VERSION: "${{ github.ref_name }}"
- name: Release
uses: softprops/action-gh-release@v1
with:
fail_on_unmatched_files: true
tag_name: "${{ github.ref_name }}"
prerelease: ${{ contains(github.ref, 'rc') }}
files: ${{ github.workspace }}/.dist/*