Reworked Actions Build
This commit is contained in:
parent
52238f9aaf
commit
efd3916fb4
@ -1,14 +1,33 @@
|
|||||||
name: ProtoGen Action Runner
|
name: ProtoGen Action Runner
|
||||||
run-name: ${{ gitea.actor }} Action Runner
|
|
||||||
on: [push]
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
image: golang:1.23
|
runs-on: ubuntu-latest
|
||||||
commands:
|
container:
|
||||||
- make build
|
image: golang:1.23
|
||||||
- mkdir -p dist
|
|
||||||
- mv alox.protogen dist/
|
steps:
|
||||||
artifacts:
|
- name: Checkout Repository
|
||||||
paths:
|
uses: actions/checkout@v3
|
||||||
- dist/alox.protogen
|
|
||||||
|
- 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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user