Commit graph

74 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
b6f5f11fd5 remove actions/artifact dependency
Signed-off-by: Eli Uriegas <eliuriegas@fb.com>
2021-05-18 13:43:15 -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
Eli Uriegas
57250ea9cd get this working with s3 buckets
Signed-off-by: Eli Uriegas <eliuriegas@fb.com>
2021-05-17 17:11:46 -07:00
Konrad Pabjan
158ca71f7c
Bump @actions/artifact to version 0.5.1 (#85) 2021-04-06 16:50:27 -04:00
dependabot[bot]
65bdb44741
Bump y18n from 4.0.0 to 4.0.1 (#84)
Bumps [y18n](https://github.com/yargs/y18n) from 4.0.0 to 4.0.1.
- [Release notes](https://github.com/yargs/y18n/releases)
- [Changelog](https://github.com/yargs/y18n/blob/master/CHANGELOG.md)
- [Commits](https://github.com/yargs/y18n/commits)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-06 15:23:44 -04:00
Josh Gross
782e5ae9ea
Merge pull request #81 from rneatherway/codeql-add-pull-request-trigger
Add on: pull_request trigger to CodeQL workflow
2021-01-14 18:42:16 -05:00
Robin Neatherway
a6ff13d56d Add on: pull_request trigger to CodeQL workflow
From February 2021, in order to provide feedback on pull requests, Code Scanning workflows must be configured with both `push` and `pull_request` triggers. This is because Code Scanning compares the results from a pull request against the results for the base branch to tell you only what has changed between the two.

Early in the beta period we supported displaying results on pull requests for workflows with only `push` triggers, but have discontinued support as this proved to be less robust.

See https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#scanning-pull-requests for more information on how best to configure your Code Scanning workflows.
2021-01-13 11:19:52 +00: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
Josh Gross
987de047e8
Merge pull request #71 from actions/joshmgross/fix-codeowners
Fix CODEOWNERS team name
2020-12-07 15:50:08 -05:00
Josh Gross
89cfa805e3
Fix CODEOWNERS team name 2020-12-07 13:35:10 -05:00
Yang Cao
37439a4b3c
Merge pull request #69 from brcrista/patch-1
Add CODEOWNERS file
2020-11-25 15:24:36 -05:00
Brian Cristante
d84bbb4c0a
Create CODEOWNERS 2020-11-25 15:18:14 -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
Yang Cao
f60857ee28
Merge pull request #56 from thboop/main
Add `Licensed` To Help Verify Prod Licenses
2020-09-23 17:18:58 -04:00
Thomas Boop
6da19888bb Add contributing.md information 2020-09-23 17:02:34 -04:00
Thomas Boop
38343be9e7 Ignore Generated Files in Git PR's 2020-08-26 11:21:58 -04:00
Justin Weissig
910a9eff4a
Fixed minor spelling mistake (#59)
Made two minor changes to fix spelling mistakes.
2020-08-24 23:02:33 +02:00
Thomas Boop
66ed71e3c8 Manually Review licenses 2020-08-11 20:23:22 -04:00
Thomas Boop
fbf2bddea0 Add licensed workflow and files 2020-08-11 20:20:07 -04:00
Thomas Boop
c3f5d00c87
Add Third Party License Information to Dist Files (#54)
* Add Third Party License Information

* Update licenses for @actions npm modules
2020-08-10 18:21:40 +02: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
dependabot[bot]
83fcc74d04
Bump lodash from 4.17.15 to 4.17.19 (#46)
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.15 to 4.17.19.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.15...4.17.19)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-07-22 13:26:09 +02:00
Konrad Pabjan
1ac47ba4b6
Update README.md 2020-07-15 12:35:21 +02:00
Konrad Pabjan
2a5974104b
Update README.md 2020-07-15 12:19:31 +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
385ad92b52
Create CONTRIBUTING.md 2020-07-13 12:55:53 +02:00
Konrad Pabjan
552dca742d
Create CODE_OF_CONDUCT.md 2020-07-13 12:49:43 +02:00
Josh Gross
6cdc83a8a8
Merge pull request #39 from actions/joshmgross/code-scanning
Create codeql-analysis.yml
2020-05-11 10:47:46 -04:00
Josh Gross
1e32d64f05
Add paths ignore for md files 2020-05-11 09:48:46 -04:00
Josh Gross
c898b9b624
Create codeql-analysis.yml 2020-05-11 09:30:11 -04: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