From a848fb313f355c999d75688c9ace8be033717ac2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juan=20Juli=C3=A1n=20Merelo=20Guerv=C3=B3s?= Date: Fri, 28 Jan 2022 07:38:27 +0100 Subject: [PATCH] This is a good tip if you're using Alpine (Which does not have a POSIX-compliant tar by default) --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index bd74444..c7c25a5 100644 --- a/README.md +++ b/README.md @@ -34,6 +34,8 @@ Refer [here](https://github.com/actions/cache/blob/v1/README.md) for previous ve ### Pre-requisites Create a workflow `.yml` file in your repositories `.github/workflows` directory. An [example workflow](#example-workflow) is available below. For more information, reference the GitHub Help Documentation for [Creating a workflow file](https://help.github.com/en/articles/configuring-a-workflow#creating-a-workflow-file). +If you are using this inside a container, a POSIX-compliant `tar` needs to be included and accessible in the execution path. + ### Inputs * `path` - A list of files, directories, and wildcard patterns to cache and restore. See [`@actions/glob`](https://github.com/actions/toolkit/tree/main/packages/glob) for supported patterns.