File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -133,11 +133,14 @@ jobs:
133133 separator : ' ,'
134134 - name : Install Vale
135135 if : steps.changed-files.outputs.any_changed == 'true'
136+ env :
137+ VALE_VERSION : ' 3.15.1'
136138 run : |
137- mkdir -p "$HOME/.local/bin"
138- curl -sfL https://install.vale.sh | sh -s -- -b "$HOME/.local/bin"
139- echo "$HOME/.local/bin" >> "$GITHUB_PATH"
140- (cd .github-actions/docs-spelling-check && "$HOME/.local/bin/vale" sync)
139+ set -euo pipefail
140+ curl -sSfL "https://github.com/errata-ai/vale/releases/download/v${VALE_VERSION}/vale_${VALE_VERSION}_Linux_64-bit.tar.gz" -o /tmp/vale.tar.gz
141+ sudo tar -xzf /tmp/vale.tar.gz -C /usr/local/bin vale
142+ vale --version
143+ (cd .github-actions/docs-spelling-check && vale sync)
141144 - name : Run Vale
142145 if : steps.changed-files.outputs.any_changed == 'true'
143146 env :
You can’t perform that action at this time.
0 commit comments