mirror of
https://github.com/crate-ci/typos.git
synced 2024-11-23 17:41:01 -05:00
parent
324cc67c99
commit
3a0fa5b9fd
2 changed files with 2 additions and 1 deletions
|
@ -36,6 +36,7 @@ runs:
|
||||||
run: $GITHUB_ACTION_PATH/action/entrypoint.sh
|
run: $GITHUB_ACTION_PATH/action/entrypoint.sh
|
||||||
shell: bash
|
shell: bash
|
||||||
env:
|
env:
|
||||||
|
INSTALL_DIR: .
|
||||||
INPUT_FILES: ${{ inputs.files }}
|
INPUT_FILES: ${{ inputs.files }}
|
||||||
INPUT_EXTEND_IDENTIFIERS: ${{ inputs.extend_identifiers }}
|
INPUT_EXTEND_IDENTIFIERS: ${{ inputs.extend_identifiers }}
|
||||||
INPUT_EXTEND_WORDS: ${{ inputs.extend_words }}
|
INPUT_EXTEND_WORDS: ${{ inputs.extend_words }}
|
||||||
|
|
|
@ -38,7 +38,7 @@ if [[ ! -x ${COMMAND} ]]; then
|
||||||
log "Downloading 'typos' v${VERSION}"
|
log "Downloading 'typos' v${VERSION}"
|
||||||
wget --progress=dot:mega "https://github.com/crate-ci/typos/releases/download/v${VERSION}/typos-v${VERSION}-x86_64-unknown-linux-musl.tar.gz"
|
wget --progress=dot:mega "https://github.com/crate-ci/typos/releases/download/v${VERSION}/typos-v${VERSION}-x86_64-unknown-linux-musl.tar.gz"
|
||||||
mkdir -p ${_INSTALL_DIR}
|
mkdir -p ${_INSTALL_DIR}
|
||||||
sudo tar -xzvf typos-v${VERSION}-x86_64-unknown-linux-musl.tar.gz -C ${_INSTALL_DIR} ./${CMD_NAME}
|
tar -xzvf typos-v${VERSION}-x86_64-unknown-linux-musl.tar.gz -C ${_INSTALL_DIR} ./${CMD_NAME}
|
||||||
rm typos-v${VERSION}-x86_64-unknown-linux-musl.tar.gz
|
rm typos-v${VERSION}-x86_64-unknown-linux-musl.tar.gz
|
||||||
fi
|
fi
|
||||||
log "jq: $(jq --version)"
|
log "jq: $(jq --version)"
|
||||||
|
|
Loading…
Reference in a new issue