Merge pull request #36 from mvt-project/fix/kill-running-adb-server #5
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: 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 |