herald.go/action.yml
Jeffrey Picard 570ff2d4f6 actions
2021-07-24 03:50:11 -04:00

31 lines
689 B
YAML

# action.yml
name: 'Hub'
description: 'go hub'
on:
push:
jobs:
build:
runs-on: golang:1.16.6-alpine3.14
steps:
- run: go build .
- run: ./protobuf/build.sh
pull_request:
jobs:
draft-release:
runs-on: golang:1.16.6-alpine3.14
using: python:3.8.11-alpine3.14
steps:
- run: python3 scripts/version.py current --commit # creates a draft release
push:
branches:
- master
jobs:
full-release:
runs-on: golang:1.16.6-alpine3.14
using: python:3.8.11-alpine3.14
steps:
- run: python3 scripts/version.py current --commit --commit ---commit