Skip to content

Commit

Permalink
chore: syntax in CLI version workflow (#30)
Browse files Browse the repository at this point in the history
  • Loading branch information
ennru authored and octonato committed Nov 27, 2024
1 parent f6b270a commit 1346627
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/docs-cli-updates.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
with:
ruby-version: '3.1'

- name: Install Akka CLI
- name: Install Akka CLI and create the CLI docs
id: install-cli
run: |
export CLI_INSTALL_PATH=$HOME/.akka/bin
Expand All @@ -28,11 +28,6 @@ jobs:
docs/src-static/install-cli.sh --force --prefix=${CLI_INSTALL_PATH}
echo ${CLI_INSTALL_PATH} >> ${GITHUB_PATH}
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
Expand Down

0 comments on commit 1346627

Please sign in to comment.