Skip to content

Merge pull request #33 from mvt-project/roaree-patch-1 #3

Merge pull request #33 from mvt-project/roaree-patch-1

Merge pull request #33 from mvt-project/roaree-patch-1 #3

Workflow file for this run

name: Build and release
on:
push:
tags:
- '*'
jobs:
releases-matrix:
name: Release Go Binary
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: echo $(go env GOPATH)/bin >> $GITHUB_PATH
- name: Build collector
run: UPX_COMPRESS=1 make collector
- name: Build Windows binary
run: make windows
- name: Build Linux binary
run: make linux
- name: Build Darwin binary
run: make darwin
- name: Upload Windows binary
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: build/androidqf_windows_amd64.exe
asset_name: androidqf_$tag_windows_amd64.exe
tag: ${{ github.ref }}
overwrite: true
- name: Upload Linux binary
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: build/androidqf_linux_amd64
asset_name: androidqf_$tag_linux_amd64
tag: ${{ github.ref }}
overwrite: true
- name: Upload Linux arm64 binary
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: build/androidqf_linux_arm64
asset_name: androidqf_$tag_linux_arm64
tag: ${{ github.ref }}
overwrite: true
- name: Upload Darwin binary
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: build/androidqf_darwin_amd64
asset_name: androidqf_$tag_darwin_amd64
tag: ${{ github.ref }}
overwrite: true
- name: Upload Darwin arm64 binary
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: build/androidqf_darwin_arm64
asset_name: androidqf_$tag_darwin_arm64
tag: ${{ github.ref }}
overwrite: true