Skip to content

build in release into single pipeline #7

build in release into single pipeline

build in release into single pipeline #7

Workflow file for this run

name: Build and Release
on:
workflow_dispatch:
push:
tags:
- "v*.*.*"
branches:
- build-and-release
jobs:
build_and_release:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.x
- name: Build
run: go build -o GitInsights
- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: GitInsights