34 lines
614 B
YAML
34 lines
614 B
YAML
name: ProtoGen Action Runner
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
container:
|
|
image: golang:1.23
|
|
|
|
steps:
|
|
- name: Checkout Repository
|
|
uses: actions/checkout@v3
|
|
|
|
- name: Set up Go
|
|
uses: actions/setup-go@v4
|
|
with:
|
|
go-version: '1.23'
|
|
|
|
- name: Build Codegen Binary
|
|
run: |
|
|
make build
|
|
mkdir -p dist
|
|
mv alox.protogen dist/
|
|
|
|
- name: Upload Artifact
|
|
uses: actions/upload-artifact@v3
|
|
with:
|
|
name: alox-protogen
|
|
path: dist/alox.protogen
|