Unziping tools from cache on linux freezes the entire workflow in interactive mode waiting for user input #456
Closed
Description
Describe the bug
When unzipping the files from the tool cache unzip
util is run in interactive mode and when there already exists a file in the target dir it freezes the entire workflow waiting for some user input which is ridiculous.
To Reproduce
- Create a workflow with
actions-rs/install
which uses the tool cache and instalsccache
with it
and also cache the~/.cargo/bin
dir wheresscache
utility is installed
- uses: actions/cache@v1
with:
path: ~/.cargo/bin
key: cargo-bin
- uses: actions-rs/install@v0.1.2
with:
crate: sccache
use-tool-cache: true
- Run this workflow a couple of times.
Expected behavior
I expect that the workflow is run without freezing on unzipping step. It should either replace the existing file or leave it like it is without unzipping, but never freeze the execution waiting for the user input.
Additional context
Related PRs:
Related issues: