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
|
2023-03-09 09:23:42 -05:00
|
|
|
cmake -DBAZEL:STRING=bazelisk ..
|
2022-12-29 11:50:11 -05:00
|
|
|
make upgrade-agent
|
|
|
|
mv -n upgrade-agent "${{ inputs.outputPath }}"
|
|
|
|
echo "::endgroup::"
|