Skip to content

gh ci build 2

gh ci build 2 #5

Workflow file for this run

name: Build and Release Binaries
on:
push:
branches: [ internal/master ]
workflow_dispatch:
inputs:
releaseVersion:
description: 'Release version'
required: false
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.20'
- name: Build using Makefile
run: make build
- name: Create GitHub Release
id: create_release
uses: ncipollo/release-action@v1
with:
tag: ${{ github.sha }}
name: Release ${{ github.sha }}
draft: false
prerelease: false
- name: Upload binary1 to Release
uses: ncipollo/release-action@v1
with:
artifacts: dist/venom.darwin-amd64,dist/venom.darwin-arm64,dist/venom.linux-amd64,dist/venom.windows-amd64
tag: ${{ github.sha }}