From dd4e2ad2ae396dcc12533f9cffbc3ab5623e8d7e Mon Sep 17 00:00:00 2001 From: Konrad Pabjan Date: Thu, 30 Apr 2020 22:46:34 +0200 Subject: [PATCH] Compat update --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.md b/README.md index ebd1a43..5b85788 100644 --- a/README.md +++ b/README.md @@ -60,6 +60,15 @@ With `v2`, there is no longer an extra directory that is created if the `path` i ... contents of my-artifact ``` +To maintain the same behavior for `v2`, you can set the `path` to the name of the artifact so an extra directory gets created. +``` +- uses: actions/download-artifact@v2 + with: + name: my-artifact + path: my-artifact +``` + + # Download All Artifacts If the `name` input parameter is not provided, all artifacts will be downloaded. To differentiate between downloaded artifacts, a directory denoted by the artifacts name will be created for each individual artifact.