Skip to content

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

Closed
@Veetaha

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

  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:

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions