This commit is contained in:
parent
9c58b4a7d5
commit
a9a3bd1683
1 changed files with 22 additions and 0 deletions
22
.gitea/workflows/build.yml
Normal file
22
.gitea/workflows/build.yml
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
name: Build
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
quality:
|
||||||
|
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
|
Loading…
Reference in a new issue