From 5a7547f0daff817f0614a1f19a9d3c4de6eb4b0a Mon Sep 17 00:00:00 2001 From: Enno Runne <458526+ennru@users.noreply.github.com> Date: Fri, 22 Nov 2024 17:38:23 +0100 Subject: [PATCH] chore: syntax in CLI version workflow (#31) --- .github/workflows/docs-cli-updates.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/docs-cli-updates.yml b/.github/workflows/docs-cli-updates.yml index eb2b11397..976b6931f 100644 --- a/.github/workflows/docs-cli-updates.yml +++ b/.github/workflows/docs-cli-updates.yml @@ -23,11 +23,11 @@ jobs: id: install-cli run: | export CLI_INSTALL_PATH=$HOME/.akka/bin + export PATH=${PATH}:${CLI_INSTALL_PATH} mkdir -p ${CLI_INSTALL_PATH} chmod +x docs/src-static/install-cli.sh docs/src-static/install-cli.sh --force --prefix=${CLI_INSTALL_PATH} - echo ${CLI_INSTALL_PATH} >> ${GITHUB_PATH} - CLI_VERSION=$(${CLI_INSTALL_PATH}/akka version) + CLI_VERSION=$(akka version) echo "setting CLI version to ${CLI_VERSION}" sed -i.bak "s/\(echo \":akka-cli-version: \)[^\"]*/\1${CLI_VERSION}/" Makefile rm Makefile.bak