mirror of
https://github.com/edgelesssys/constellation.git
synced 2024-10-01 01:36:09 -04:00
23 lines
554 B
YAML
23 lines
554 B
YAML
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 ..
|
|
make upgrade-agent
|
|
mv -n upgrade-agent "${{ inputs.outputPath }}"
|
|
echo "::endgroup::"
|