Make #4
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: Make | |
on: | |
workflow_dispatch: | |
inputs: | |
distro: | |
type: choice | |
description: Distro Image to Debug | |
required: true | |
options: | |
- build | |
- lint | |
- lintfix | |
env: | |
REPO_OWNER: ${{ github.repository_owner }} # used in 'make db-build' | |
GH_USER: khulnasoft-bot | |
VERSION: 2 | |
jobs: | |
build: | |
if: ${{ github.event.inputs.distro == 'build' }} | |
runs-on: ubuntu-latest | |
steps: | |
- name: Build the binary | |
run: make build | |
lint: | |
if: ${{ github.event.inputs.distro == 'lint' }} | |
runs-on: ubuntu-latest | |
steps: | |
- name: Lint | |
run: make lint | |
lintfix: | |
if: ${{ github.event.inputs.distro == 'lintfix' }} | |
runs-on: ubuntu-latest | |
steps: | |
- name: Lintfix | |
run: make lintfix |