Commit graph

27 commits

Author SHA1 Message Date
Eli Uriegas
eb9aade5ca add runAttempt to s3Prefix
Signed-off-by: Eli Uriegas <eliuriegas@fb.com>
2022-03-22 12:06:55 -07:00
Eli Uriegas
0504774707
add progress nums to output message
Signed-off-by: Eli Uriegas <eliuriegas@fb.com>
2021-05-19 16:07:11 -07:00
Eli Uriegas
3349d0b44d
fix promise resolution
Signed-off-by: Eli Uriegas <eliuriegas@fb.com>
2021-05-19 15:51:55 -07:00
Eli Uriegas
c7a6943d3b
move download finish to then statement
Signed-off-by: Eli Uriegas <eliuriegas@fb.com>
2021-05-19 15:30:55 -07:00
Eli Uriegas
fdf1695da1
try to do it without a weird callback
Signed-off-by: Eli Uriegas <eliuriegas@fb.com>
2021-05-19 15:20:16 -07:00
Eli Uriegas
35ec0229c4
block on download
Signed-off-by: Eli Uriegas <eliuriegas@fb.com>
2021-05-19 14:54:47 -07:00
Eli Uriegas
b3d4dd0b18 ensure directory for artifact is created
Signed-off-by: Eli Uriegas <eliuriegas@fb.com>
2021-05-19 12:17:45 -07:00
Eli Uriegas
855a44af6d close -> unpipe
Signed-off-by: Eli Uriegas <eliuriegas@fb.com>
2021-05-19 12:08:12 -07:00
Eli Uriegas
5b4e84811e ensure directory is created before downloading
Signed-off-by: Eli Uriegas <eliuriegas@fb.com>
2021-05-19 11:57:07 -07:00
Eli Uriegas
c91b9fb13e ensure we're downloading to the correct directory
Signed-off-by: Eli Uriegas <eliuriegas@fb.com>
2021-05-19 11:48:54 -07:00
Eli Uriegas
34aa167be5 add trailing slash to s3Prefix
Signed-off-by: Eli Uriegas <eliuriegas@fb.com>
2021-05-19 11:14:12 -07:00
Eli Uriegas
59bb9ed754 ensure defaults for configuration values
Signed-off-by: Eli Uriegas <eliuriegas@fb.com>
2021-05-19 11:06:16 -07:00
Eli Uriegas
10ec34d92d
attempting to make this a bit less error prone
Signed-off-by: Eli Uriegas <eliuriegas@fb.com>
2021-05-19 10:56:47 -07:00
Eli Uriegas
5a1313076c set path correctly
Signed-off-by: Eli Uriegas <eliuriegas@fb.com>
2021-05-18 13:47:58 -07:00
Eli Uriegas
576971f47f Fix download
Signed-off-by: Eli Uriegas <eliuriegas@fb.com>
2021-05-18 13:39:19 -07:00
Eli Uriegas
ed1916672d
fix formatting
Signed-off-by: Eli Uriegas <eliuriegas@fb.com>
2021-05-18 11:15:30 -07:00
Eli Uriegas
91f3fe2635
update dependencies, re-build dist/index.js
Signed-off-by: Eli Uriegas <eliuriegas@fb.com>
2021-05-18 10:54:27 -07:00
Konrad Pabjan
158ca71f7c
Bump @actions/artifact to version 0.5.1 (#85) 2021-04-06 16:50:27 -04:00
Konrad Pabjan
4a7a711286
Add retries to all HTTP calls + fix dependabot alerts (#80)
* Update @actions/artifact package to version 0.5.0

* bump eslint-plugin-github to version 4.1.1

* Update artifact.dep.yml
2021-01-04 15:47:26 +01:00
Konrad Pabjan
f144d3c391
Update @actions/artifact from 0.3.5 to 0.4.2 (#73)
* Update @actions/artifact from 0.3.5 to 0.4.2

* Update package versions in .licenses
2020-12-15 10:55:26 -05:00
Konrad Pabjan
f8e41fbffe
Bump @actions/core to v1.2.6 (#64)
* Bump @actions/core to v1.2.6

* Update version in license for @actions/core

* Fix typo
2020-11-13 14:53:33 -05:00
Konrad Pabjan
b3cedea9be
Bump @actions/artifact to 0.3.5 (#52) 2020-08-04 17:55:46 +02:00
Konrad Pabjan
80d2d4023c
Document Artifact Limitations + Bump actions/artifact package version (#51)
* Document Artifact Limitations

* README Updates

* Restructure README
2020-07-31 17:16:59 +02:00
Konrad Pabjan
381af06b42
Add support for tilde expansion (#50)
* Add support for tilde expansion

* Print resolved path with debug

* Update README

* README

* Only replace tilde in certain scenarios

* Fix
2020-07-30 12:01:38 +02:00
Konrad Pabjan
7e5b6f00de
Misc Download Artifact Improvements (#43)
* Various improvements to download-artifact

* Resolve input path

* README updates

* PR feedback
2020-07-15 12:09:31 +02:00
Konrad Pabjan
d0b19596d3
V2 Updates (#36)
* Update README with compatibilty differences between v1 and v2

* NPM package updates and rebuild index.js

* Update README

* Compat update
2020-04-30 22:50:01 +02:00
Konrad Pabjan
1de1dea89c
V2 Download Artifact (#27)
* V2 Preview (#19)

* V2 Setup

* Add end-to-end tests

* Update tests

* Update tests

* Update tests

* Update tests again

* Misc Updates

* Improve logs

* Update release

* Update README.md

* @actions/artifact v0.2.0

* Update to the latest version of the @actions/artifact package

* Update @actions/artifact to 0.3.1

* Misc Updates

* Add .gitattributes

* Update Readme

* Update test YAML
2020-04-28 15:45:21 +02:00