exporter-go-mystrom/.gitea/workflows/build.yml

23 lines
447 B
YAML
Raw Normal View History

2024-04-24 16:42:01 +02:00
name: Build
on:
push:
branches:
- main
jobs:
build:
runs-on: alpine-latest
steps:
- uses: actions/checkout@v4
- name: Build
run: |
apk add go make
export GOPATH=/tmp/go
export PATH=$PATH:$GOPATH/bin
make build
- uses: actions/upload-artifact@v4
with:
name: mystrom-exporter
path: output/mystrom-exporter
overwrite: true