Add renovate.json #279
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
on: [push] | |
name: build and create release | |
jobs: | |
build: | |
outputs: | |
version: ${{ steps.get_version.outputs.VERSION }} | |
strategy: | |
matrix: | |
include: | |
- os: ubuntu-latest | |
go-version: 1.16.x | |
artifact_name: onyxiactl | |
asset_name: onyxiactl-linux | |
- os: macos-latest | |
go-version: 1.16.x | |
artifact_name: onyxiactl | |
asset_name: onyxiactl-macos | |
- os: windows-latest | |
go-version: 1.16.x | |
artifact_name: onyxiactl.exe | |
asset_name: onyxiactl-windows.exe | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Install Go | |
uses: actions/setup-go@v2 | |
with: | |
go-version: ${{ matrix.go-version }} | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: build | |
run: go build . | |
- name: Upload binaries to release | |
uses: svenstaro/upload-release-action@v2 | |
with: | |
repo_token: ${{ secrets.GITHUB_TOKEN }} | |
file: ./${{ matrix.artifact_name }} | |
asset_name: ${{ matrix.asset_name }} | |
tag: ${{ github.ref }} | |
overwrite: true |