Skip to content
Merged
Changes from all commits
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
7 changes: 6 additions & 1 deletion infra/install-infractl/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,14 @@ runs:
shell: bash
run: |
mkdir -p ~/.local/bin
if [[ ":$PATH:" != *":$HOME/.local/bin:"* ]]; then
# If ~/.local/bin is not in $PATH already, make it so for this and subsequent steps.
PATH="$HOME/.local/bin:$PATH"
echo "$HOME/.local/bin" >> "$GITHUB_PATH"
fi
curl --fail -sL https://infra.rox.systems/v1/cli/linux/amd64/upgrade \
| jq -r ".result.fileChunk" \
| base64 -d \
> ~/.local/bin/infractl
chmod +x ~/.local/bin/infractl
echo "::debug::$(infractl --version)"
infractl --version
Loading