Skip to content
This repository was archived by the owner on Aug 21, 2025. It is now read-only.
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 12 additions & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,21 @@ runs:
- shell: bash
run: pip install -r requirements_dev.txt
- run: |
if [ -f "UCC_VERSION" ]
then
pip install pip-run
UCC_VERSION=$(cat UCC_VERSION)

echo "Installing UCC version $UCC_VERSION"
UCC_EXECUTABLE="pip-run \"splunk-add-on-ucc-framework==$UCC_VERSION\" -- '!ucc-gen'"
Comment thread
kkedziak-splunk marked this conversation as resolved.
Outdated
else
UCC_EXECUTABLE="ucc-gen"
fi

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

WDYT about adding here an else condition with warning message to migrate ucc dependency to a separate file?


if [ ! -z $INPUT_VERSION ]; then ARG_VERSION="--ta-version=${INPUT_VERSION}"; fi
echo "result=$(echo $ARG_VERSION)" >> $GITHUB_OUTPUT
echo running ucc-gen $ARG_VERSION
ucc-gen $ARG_VERSION
$UCC_EXECUTABLE $ARG_VERSION
Comment thread
kkedziak-splunk marked this conversation as resolved.
Outdated
shell: bash
env:
INPUT_VERSION: ${{ inputs.version }}
Expand Down