Adding new option to deal with large log files and fixed a few bugs #58
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Generate release-artifacts | |
on: push | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Go | |
uses: actions/setup-go@v3 | |
with: | |
go-version: 1.18.8 | |
- name: Build Linux | |
run: GOOS=linux GOARCH=amd64 go build -o blueiris_exporter-amd64-linux -tags LINUX | |
- name: Build Windows | |
run: GOOS=windows GOARCH=amd64 go build -o blueiris_exporter-amd64.exe | |
- name: Upload Artifacts | |
uses: softprops/action-gh-release@v1 | |
if: startsWith(github.ref, 'refs/tags/') | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
files: | | |
blueiris_exporter-amd64-linux | |
blueiris_exporter-amd64.exe |