From 27c0af5532b52b4e55b05cfcbd9c2ec560e97276 Mon Sep 17 00:00:00 2001 From: Vipul Date: Thu, 25 Aug 2022 16:52:00 +0530 Subject: [PATCH 1/2] Remove .md files skip condition from test workflow --- .github/workflows/workflow.yml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index 48f1ccb..320fd46 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -5,14 +5,10 @@ on: branches: - main - releases/** - paths-ignore: - - '**.md' push: branches: - main - releases/** - paths-ignore: - - '**.md' jobs: # Build and unit test From 0c180092a2f8c7ea44fd5ba6e45fdf288f98e124 Mon Sep 17 00:00:00 2001 From: Vipul Date: Mon, 29 Aug 2022 17:16:27 +0530 Subject: [PATCH 2/2] Add a note about path expansion on Windows. --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index c495595..8aa9cb5 100644 --- a/README.md +++ b/README.md @@ -248,6 +248,9 @@ A cache today is immutable and cannot be updated. But some use cases require the #### Use cache across feature branches Reusing cache across feature branches is not allowed today to provide cache [isolation](https://docs.github.com/en/actions/using-workflows/caching-dependencies-to-speed-up-workflows#restrictions-for-accessing-a-cache). However if both feature branches are from the default branch, a good way to achieve this is to ensure that the default branch has a cache. This cache will then be consumable by both feature branches. +#### Windows environment variables +Please note that Windows environment variables (like `%LocalAppData%`) will NOT be expanded by this action. Instead, prefer using `~` in your paths which will expand to HOME directory. For example, instead of `%LocalAppData%`, use `~\AppData\Local`. For a list of supported default environment variables, see [this](https://docs.github.com/en/actions/learn-github-actions/environment-variables) page. + ## Contributing We would love for you to contribute to `actions/cache`, pull requests are welcome! Please see the [CONTRIBUTING.md](CONTRIBUTING.md) for more information.