Skip to content

Commit 002581c

Browse files
committed
Upload binary as GitHub Actions artifact
1 parent 4c1d7ff commit 002581c

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

.github/workflows/make.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ name: Make
22

33
on:
44
push:
5-
branches: [ "master" ]
5+
branches: ["master"]
66
pull_request:
7-
branches: [ "master" ]
7+
branches: ["master"]
88

99
permissions:
1010
contents: read
@@ -24,6 +24,12 @@ jobs:
2424
packages: ${{ matrix.cc }} libbsd-dev libconfig-dev libmodbus-dev libmosquitto-dev
2525
- name: make with ${{ matrix.cc }}
2626
run: env CC=${{ matrix.cc }} make
27+
- name: Upload binary
28+
uses: actions/upload-artifact@v4
29+
with:
30+
path: growatt_exporter
31+
name: growatt_exporter
32+
2733
test:
2834
runs-on: ubuntu-latest
2935
steps:

TODO

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
- FEATURE: provide binaries built with CI
21
- BUGFIX: automatically reconnect to MQTT broker when connection lost
32
- add program option --verbose instead of compile-time LOG_VERBOSE define
43
- test program with either --mqtt XOR --prometheus but not both

0 commit comments

Comments
 (0)