Skip to content

Commit

Permalink
Merge pull request #927 from shajmakh/gh-action
Browse files Browse the repository at this point in the history
gh actions: add workflow to build tool
  • Loading branch information
openshift-merge-robot authored Jul 22, 2022
2 parents 75dac7e + 08cc704 commit 35e46a1
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions .github/workflows/release-hp-mc-generator.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@

name: Build hugepages-machineconfig-generator tool binary

on:
workflow_dispatch:

defaults:
run:
shell: bash

jobs:
setup:
runs-on: ubuntu-latest
steps:
- name: checkout sources
uses: actions/checkout@v3
with:
fetch-depth: 0

- name: setup golang
uses: actions/setup-go@v2
id: go
with:
go-version: 1.17
build:
needs: [setup]
runs-on: ubuntu-latest
steps:
- name: checkout sources
uses: actions/checkout@v3
with:
fetch-depth: 0

- name: build machineconfig generator tool for hugepages
run: make dist-hugepages-mc-genarator

- name: release the tool binary
uses: ncipollo/release-action@v1
with:
artifacts: build/_output/bin/hugepages-machineconfig-generator

0 comments on commit 35e46a1

Please sign in to comment.