22 lines
451 B
YAML
22 lines
451 B
YAML
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@v3
|
|
with:
|
|
name: mystrom-exporter.zip
|
|
path: output/mystrom-exporter
|
|
overwrite: true
|