Skip to content

Commit

Permalink
Merge pull request #1598 from vespa-engine/kkraune-patch-1
Browse files Browse the repository at this point in the history
use latest CLI
  • Loading branch information
kkraune authored Dec 11, 2024
2 parents 42b471d + dcd958f commit 0821f97
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/feed.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,11 @@ jobs:
- name: Get Vespa CLI - update to later versions as needed
run: |
apt update && apt -y install curl
curl -SsLo vespa-cli.tar.gz https://github.com/vespa-engine/vespa/releases/download/v8.209.11/vespa-cli_8.209.11_linux_amd64.tar.gz
tar -xvf vespa-cli.tar.gz && ln -fs vespa-cli_8.209.11_linux_amd64/bin/vespa
mkdir -p opt
VESPA_CLI_VERSION=$(curl -fsSL https://api.github.com/repos/vespa-engine/vespa/releases/latest | grep -Po '"tag_name": "v\K.*?(?=")')
curl -fsSL https://github.com/vespa-engine/vespa/releases/download/v${VESPA_CLI_VERSION}/vespa-cli_${VESPA_CLI_VERSION}_linux_amd64.tar.gz | \
tar -zxf - -C opt
ln -fs ./opt/*/bin/vespa
- name: Feed site
run: |
Expand Down

0 comments on commit 0821f97

Please sign in to comment.