Skip to content

Commit

Permalink
chore: syntax in CLI version workflow (#28)
Browse files Browse the repository at this point in the history
  • Loading branch information
ennru authored and octonato committed Nov 27, 2024
1 parent ee1c7ae commit f6b270a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/docs-cli-updates.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,16 +24,18 @@ jobs:
run: |
export CLI_INSTALL_PATH=$HOME/.akka/bin
mkdir -p ${CLI_INSTALL_PATH}
curl -sL https://docs.akka.io/install-cli.sh | bash -s -- -y -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=$(${CLI_INSTALL_PATH}/akka version)
echo "CLI_VERSION=${CLI_VERSION}"
echo "CLI_VERSION=${CLI_VERSION}" >> ${GITHUB_OUTPUT}
- name: Script
run: |
echo "setting CLI version to ${CLI_VERSION}"
sed -i.bak "s/\(echo \":akka-cli-version: \)[^\"]*/\1${CLI_VERSION}/" Makefile
rm Makefile.bak
gem install kramdown-asciidoc
./docs/bin/generate_cli_docs.sh gen-index
Expand Down

0 comments on commit f6b270a

Please sign in to comment.