exporter-go-mystrom/.gitea/workflows/build.yml
Timothée Floure 2216ac4085
All checks were successful
Build / build (push) Successful in 1m30s
Use gitea actions to build releases
2024-04-24 17:07:16 +02:00

23 lines
495 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
path: output/mystrom-exporter
compression-level: 0 # no compression
overwrite: true