From a9a3bd1683faf9332dd0529e8e7376ad04234b27 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timoth=C3=A9e=20Floure?= Date: Wed, 24 Apr 2024 16:42:01 +0200 Subject: [PATCH] Use gitea actions to build releases --- .gitea/workflows/build.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .gitea/workflows/build.yml diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml new file mode 100644 index 0000000..9da6b0f --- /dev/null +++ b/.gitea/workflows/build.yml @@ -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