Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unziping tools from cache on linux freezes the entire workflow in interactive mode waiting for user input #456

Closed
Veetaha opened this issue May 14, 2020 · 0 comments · Fixed by #807
Labels
bug Something isn't working tool-cache

Comments

@Veetaha
Copy link

Veetaha commented May 14, 2020

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

  1. Create a workflow with actions-rs/install which uses the tool cache and instal sccache with it
    and also cache the ~/.cargo/bin dir where sscache 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
  1. 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.

Screenshots
image

Additional context
Related PRs:

Related issues:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working tool-cache
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants