Skip to content

add action workflows #1

add action workflows

add action workflows #1

Workflow file for this run

name: Build and release
on:
push:
tags:
- '[0-9]+.[0-9]+.[0-9]+'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup Go environment
uses: actions/setup-go@v4
with:
go-version: '1.21'
- name: Build All
run: make build-all
- name: Release
uses: softprops/action-gh-release@v1
with:
files: |
./bin/ddcli*
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}