From 062b83e7bf2bc2913ecf0d3cf2463d73c5dcca52 Mon Sep 17 00:00:00 2001 From: Danny McCormick Date: Tue, 23 Jul 2019 15:28:49 -0400 Subject: [PATCH 1/4] Update README.md --- README.md | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/README.md b/README.md index 2a6b9dd..4cb6bd0 100644 --- a/README.md +++ b/README.md @@ -1 +1,37 @@ # download-artifact + +This downloads artifacts from your build. + +# Usage + +See [action.yml](action.yml) + +Basic (upload current working directory): +```yaml +actions: +- uses: actions/checkout@latest + +- uses: actions/download-artifact@latest + with: + name: my-artifact + +- run: cat my-artifact +``` + +Download to specific directory: +```yaml + +actions: +- uses: actions/checkout@latest + +- uses: actions/download-artifact@latest + with: + name: my-artifact + path: path/to/artifact + +- run: cat path/to/artifact/my-artifact +``` + +# License + +The scripts and documentation in this project are released under the [MIT License](LICENSE) From 0e2e127b05baa1b02e93ca4d8b9381c86cd9180c Mon Sep 17 00:00:00 2001 From: Danny McCormick Date: Tue, 23 Jul 2019 15:29:14 -0400 Subject: [PATCH 2/4] Create LICENSE --- LICENSE | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 LICENSE diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..a67dca8 --- /dev/null +++ b/LICENSE @@ -0,0 +1,22 @@ + +The MIT License (MIT) + +Copyright (c) 2018 GitHub, Inc. and contributors + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. From e2f5e37059249b8fbd567f20788b48707dd7d0e3 Mon Sep 17 00:00:00 2001 From: Danny McCormick Date: Tue, 23 Jul 2019 15:31:39 -0400 Subject: [PATCH 3/4] Update README.md --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 4cb6bd0..5f10279 100644 --- a/README.md +++ b/README.md @@ -9,9 +9,9 @@ See [action.yml](action.yml) Basic (upload current working directory): ```yaml actions: -- uses: actions/checkout@latest +- uses: actions/checkout@master -- uses: actions/download-artifact@latest +- uses: actions/download-artifact@master with: name: my-artifact @@ -22,9 +22,9 @@ Download to specific directory: ```yaml actions: -- uses: actions/checkout@latest +- uses: actions/checkout@master -- uses: actions/download-artifact@latest +- uses: actions/download-artifact@master with: name: my-artifact path: path/to/artifact From 7933a7ec4c8590e4296a02322af5d59d497b801c Mon Sep 17 00:00:00 2001 From: Danny McCormick Date: Tue, 23 Jul 2019 15:34:36 -0400 Subject: [PATCH 4/4] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 5f10279..402afa1 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,7 @@ actions: name: my-artifact path: path/to/artifact -- run: cat path/to/artifact/my-artifact +- run: cat path/to/artifact ``` # License