Skip to content

add release script

add release script #3

name: Build and release
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
on:
push:
branches:
- main
jobs:
build-and-release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup Go environment
uses: actions/[email protected]
with:
go-version-file: go.mod
cache-dependency-path: go.sum
cache: true
- name: Build and Release Flights
shell: bash
env:
GH_TOKEN: ${{ github.token }}
run: go run ./cmd/internal/releaser