constellation/.github/actions/gcpccm_vers_to_build/action.yml
Paul Meyer c6819b8d31 ci: automatically build GCP CCM container
Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
2023-08-16 16:31:04 +02:00

25 lines
663 B
YAML

name: Find GCP CCM versions that need to be build
description: Find GCP CCM versions that need to be build
inputs:
path:
description: "Path to the GCP CCM repository"
required: true
outputs:
versions:
description: "Versions that need to be build"
value: ${{ steps.find-versions.outputs.versions }}
runs:
using: "composite"
steps:
- name: Find versions that need to be build
id: find-versions
shell: bash
run: |
script=$(realpath .github/actions/gcpccm_vers_to_build/findvers.sh)
pushd "${{ inputs.path }}"
versions=$(${script})
echo "versions=${versions}" | tee -a "$GITHUB_OUTPUT"