constellation/.github/actions/build_upgrade_agent/action.yml

23 lines
578 B
YAML
Raw Normal View History

2022-12-29 11:50:11 -05:00
name: Build upgrade-agent
description: Build the Constellation upgrade-agent binary
inputs:
outputPath:
description: "Output path of the binary"
default: "./upgrade-agent"
required: true
# Linux runner only (Docker required)
runs:
using: "composite"
steps:
- name: Build the upgrade-agent
shell: bash
run: |
echo "::group::Build the upgrade-agent"
mkdir -p build && cd build
cmake -DBAZEL:STRING=bazelisk ..
2022-12-29 11:50:11 -05:00
make upgrade-agent
mv -n upgrade-agent "${{ inputs.outputPath }}"
echo "::endgroup::"