Skip to content

Caching fails when expected folder does not exist, without failing the job. #13

Description

@ahobeost

On Windows 11, when successfully using the GitHub action, a set of nested folders is available:
c:\runner\_work\_tool\SPF-OST\repo\folder_with_cached_files

Here SPF-OST is our GitHub organization.
On a new runner the _tool folder is empty.

When faced with this setup the normal step warns that it cannot find the folder:
c:\runner\_work\_tool\SPF-OST\repo

The "post" step completes without any feedback.
Checking the folders, the post step did nothing.

To make the Github Action work, I need to manually ensure the full path exists.

It would be great if the GitHub Action could prepare these folders.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions