1
0
Fork 0
Commit Graph

223 Commits (8ae8acce725ed5023ea203e2143df34ea255f3c8)

Author SHA1 Message Date
Konrad Pabjan dffb5572a9
Updates to @actions/artifact package (#367)
* GZip implementation

* Optimizations and cleanup

* Update tests

* More test updates

* Update packages/artifact/src/internal-utils.ts

Co-Authored-By: Josh Gross <joshmgross@github.com>

* Clarification around Upload Paths

* Refactor to make http clients classes

* GZip fixes

* Documentation around compression

* More detailed status information during large uploads

* Pretty format

* Percentage updates without rounding

* Fix edge cases with formatting numbers

* Update packages/artifact/src/internal-utils.ts

Co-Authored-By: Josh Gross <joshmgross@github.com>

* Cleanup

* Small reorg with status reporter

* PR Feedback

* Cleanup + Simplification

* Test Cleanup

* Mock updates

* More cleanup

* Format fixes

* Overhaul to the http-manager

* Fix tests

* Promisify stats

* Documentation around implementation

* Improvements to documentation

* PR Feedback

* Remove Downloading multiple artifacts concurrently

Co-authored-by: Josh Gross <joshmgross@github.com>
2020-03-12 14:50:27 +01:00
eric sciple 5859d7172e
only retry downloadtool on 500s and 408 and 429 (#373) 2020-03-09 14:35:53 -04:00
Thomas Boop 82fbe5da0f
Update jest to 25.1 (#374)
* Update jest to 25.1

* Update acorn to 6.4.1

* Update dependencies, run audit on all packages, update packagelock

* Remove package-lock dependencies
2020-03-09 14:17:29 -04:00
eric sciple df0aa9077a generated 2020-03-05 12:07:25 -05:00
eric sciple 259743ae13
update downloadTool to handle errors from response stream and retry (#369) 2020-03-05 12:05:27 -05:00
Bryan MacFarlane 3261dd9883
core 1.2.3 release (#366) 2020-03-02 08:02:40 -05:00
Tingluo Huang a649207792
Add core.isDebug() to check whether actions_step_debug is on or not. (#278) 2020-03-02 07:45:27 -05:00
Josh Gross 54bcb7c4f1
Update tool cache docs (#347) 2020-02-26 11:43:55 -05:00
Thomas Boop 41157b23c7
Release 2.1.1 of @actions/github (#357) 2020-02-20 14:02:42 -05:00
Ryo Ota fa03eb4d22
Use import {Octokit} (#332)
* Use import {Octokit}

* Update @octokit/rest to 16.43.1
2020-02-18 15:43:07 -05:00
Konrad Pabjan f383109dc3
@actions/artifact download artifacts (#340)
* Download Artifacts using @actions/artifact
2020-02-13 18:24:11 -05:00
eric sciple 84f1e31b69
send tar --version to debug log (#342) 2020-02-13 09:54:56 -05:00
Konrad Pabjan 6cbb8e9bc8
@actions/artifact package (#304)
* Initial commit for @actions/artifact package
2020-02-11 09:49:46 -05:00
Fabio Niephaus 0ecc141d4e await tc.downloadTool (#337) 2020-02-09 22:15:26 -05:00
eric sciple 432a78c48c check proxy bypass before setting proxy agent (#320) 2020-01-23 14:35:41 -05:00
Thomas Boop 80e6ba7033
Update readme with type assertion information (#310)
* Update readme with type assertion information

* PR updates
2020-01-22 11:53:39 -05:00
eric sciple 6072c249ee
release notes (#317) 2020-01-21 13:25:05 -05:00
Thomas Boop a9175f3986
Correctly pull issue number for pull request review events (#311) 2020-01-21 10:44:38 -05:00
eric sciple 8b0300129f
fix command escaping (#302) 2020-01-18 23:52:44 -05:00
eric sciple ab5bd9d696
octokit client should follow proxy settings (#314) 2020-01-18 14:28:37 -05:00
eric sciple e69833ed16
release notes (#308) 2020-01-14 11:58:44 -05:00
Bryan MacFarlane 2e88402d19
audit fix and update http-client (#298) 2020-01-10 16:37:48 -05:00
eric sciple 058ad6937d
remove todo comment (#297) 2020-01-10 12:09:48 -05:00
eric sciple dd64d8c7c9
glob readme (#296) 2020-01-10 12:00:22 -05:00
eric sciple 947ba5b559
bump versions (#295) 2020-01-09 17:31:27 -05:00
eric sciple 03ebc5b885
generated file (#294) 2020-01-09 15:26:22 -05:00
eric sciple 1a2c592903
multiple glob patterns (#287) 2020-01-09 15:05:31 -05:00
Bryan MacFarlane 803934eca0
audit security vulnerabilities as part of ci (#280) 2020-01-03 17:54:10 -05:00
eric sciple a11539e1db
glob (#268) 2019-12-31 10:16:18 -05:00
dependabot[bot] a94e2440cb Bump handlebars from 4.1.2 to 4.5.3 in /packages/github (#276)
Bumps [handlebars](https://github.com/wycats/handlebars.js) from 4.1.2 to 4.5.3.
- [Release notes](https://github.com/wycats/handlebars.js/releases)
- [Changelog](https://github.com/wycats/handlebars.js/blob/master/release-notes.md)
- [Commits](https://github.com/wycats/handlebars.js/compare/v4.1.2...v4.5.3)

Signed-off-by: dependabot[bot] <support@github.com>
2019-12-27 19:48:20 -05:00
Josh Gross 8a4134761f Update to latest typescript version (#274) 2019-12-27 19:42:30 -05:00
eric sciple e7cbd693eb
fix extractTar on Windows (#264) 2019-12-19 10:44:08 -05:00
eric sciple 81bdf00982
fix Buffer deprecation warnings (#265) 2019-12-18 13:24:01 -05:00
eric sciple 568f12cee6
remove trailing comma from commands (#263) 2019-12-18 13:23:16 -05:00
Yusuke Sakurai 606e1f27ac add: "types" to each package.json (#221)
fix es #148
2019-12-17 11:03:58 -05:00
eric sciple 895bdd6dd5
remove misleading verbiage (#258) 2019-12-16 12:43:21 -05:00
eric sciple 61d502068b
overload downloadTool to accept destination path (#257) 2019-12-16 11:59:48 -05:00
Daniel Anechitoaie 9f6c37ac52 Updated tc.cacheFile example (#226) 2019-12-11 18:05:18 -05:00
Peter Evans be9f18b69f Fix documentation links (#217) 2019-12-10 09:11:03 -05:00
Tony Brix 1d7e38e56d fix unzip error (#223) 2019-12-09 14:26:48 -05:00
eric sciple 15033a1aed commit package-lock.json 2019-12-09 11:21:43 -05:00
Ross Brodbeck 5fdab2aaf2
Update octokit graphql type dependencies (#228)
* Update GraphQL support in base API
2019-12-06 07:52:04 -05:00
eric sciple 1c12ced7ba
bump patch version (#239) 2019-12-04 11:03:36 -05:00
eric sciple 211b25966b
Unit test (#236) 2019-12-03 14:18:54 -05:00
Ross Brodbeck d98e55434d
Fix test timeouts (#235)
* Fix test timeouts
2019-12-03 13:55:39 -05:00
eric sciple 5c894298f2
toolrunner should which tool before invoking (#220) 2019-11-18 16:20:01 -05:00
Jan Jurzitza 9a3c005162 Clarify that extractTar extracts gzipped tars (#134)
The default downloadTool implementation strips the filename so when passing it to the extractTar function, it doesn't have a way of knowing the format without manually specifying it. However what the extractTar function arguments meant and how to specify them wasn't clear before reading the source code, so the documentation here got updated to reflect that.
2019-11-15 16:12:36 -05:00
Bryan MacFarlane a65441cf46
bump core for release and docs (#189) 2019-10-18 15:35:13 -04:00
Manuel Muñoz Solera 565d0bbe18 Adding missing curly Brace in Usage example (#150) 2019-10-14 10:59:46 -04:00
Josh Gross e8d384d3af
Merge pull request #149 from actions/users/tihuang/statecommand
add core method to saveState and getState.
2019-10-10 20:04:39 -04:00
Tingluo Huang ae706665a1 PR feedback. 2019-10-03 14:48:21 -04:00
Tingluo Huang 5ce4932391 update doc. 2019-10-03 00:41:30 -04:00
Bryan MacFarlane 531da1858f
fix test timeout (#176)
* fix test timeout
2019-10-02 08:18:38 -04:00
Bryan MacFarlane 9d54cd22ea
setSecret (#174)
* setSecret
2019-10-01 17:13:05 -04:00
Bryan MacFarlane 713902387e
updating core docs and bumping version (#172)
updating core docs and bumping version
2019-10-01 13:53:09 -04:00
Harry Marr 47ccfea021 Add 'repository.directory' to package manifests (#143) 2019-09-24 22:30:51 -04:00
Chad Schulz 46bd5e54fd Wrap example in async function (#157)
As someone not too familiar with async/await JavaScript, I was hung up on this for a bit. If this is too distracting from the example itself, I can understand not integrating it.
2019-09-24 22:27:50 -04:00
Bryan MacFarlane 1f7964519a bump tool-cache version 2019-09-24 17:20:01 -04:00
Bryan MacFarlane 67eeeea9fa
use zip and unzip from path (#161) 2019-09-24 17:07:08 -04:00
Chad Schulz 3116829a9b Add missing } to token example (#153) 2019-09-24 13:49:32 -04:00
Tingluo Huang 81b71dc6e6 fix lint. 2019-09-19 22:18:51 -04:00
Tingluo Huang 4d15218252 fix lint. 2019-09-19 22:14:12 -04:00
Tingluo Huang b62614fa25 add core method to saveState and getState. 2019-09-19 22:02:45 -04:00
Bryan MacFarlane e2358e2973 update core releases.md 2019-09-18 14:47:11 -04:00
Danny McCormick 14d6a0a2d2
Implement set-secret (#141)
* Implement set-secret

* Update RELEASES.md

* Feedback
2019-09-18 14:25:05 -04:00
Marc Nuri 6fcaac5046 actions/toolkit#127: getInput supports variables with multiple spaces (#129)
* actions/toolkit#127: getInput supports variables with multiple spaces

* actions/toolkit#127: PR comment, update changelog
2019-09-12 13:41:11 -04:00
Warren Buckley b297969f56 Update readme to show how to use the secret GITHUB_TOKEN (#131)
* Update readme to show how to use the secret GITHUB_TOKEN

* Adds in link to docs - which I feel seem to be scattered in repos & official docs
2019-09-12 10:50:19 -04:00
Danny McCormick b3bf422391
Update RELEASES.md 2019-09-09 11:58:37 -04:00
damccorm 4ff3b554b8 Fix tests 2019-09-09 11:57:17 -04:00
Danny McCormick ef4525e9dd
Add info for completeness (#111)
* Add info for completeness

* Linting

* Missing import
2019-09-09 11:46:48 -04:00
Danny McCormick a6e7249776
Update to use :: instead of ## (#110)
* Update to use :: instead of ##

* Missed test
2019-09-09 11:46:17 -04:00
Jonathan Leitschuh b529540e0c Don't recommend the use of HTTP to download code (#120) 2019-09-09 09:39:43 -04:00
Danny McCormick 7f17a6e550
Update RELEASES.md 2019-09-05 16:04:32 -04:00
Danny McCormick 6160df50dc
Update RELEASES.md 2019-09-05 13:27:22 -04:00
Jonathan Clem a2ab4bcf78
Publish
- @actions/core@1.1.0
 - @actions/exec@1.0.1
 - @actions/github@1.1.0
 - @actions/io@1.0.1
 - @actions/tool-cache@1.1.1
2019-09-05 11:03:19 -04:00
Jonathan Clem 1c4866fa48
Add note about constructor options 2019-09-05 10:52:34 -04:00
Jonathan Clem e533651251
Accept Octokit.Options in the GitHub constructor 2019-09-05 09:54:27 -04:00
Jonathan Clem eb4c32847c
Merge pull request #98 from actions/core-debug
Core debug
2019-09-05 09:47:05 -04:00
damccorm 2a1b7d5c7e Merge branch 'master' of https://github.com/actions/toolkit 2019-09-04 14:04:40 -04:00
damccorm eaba9217f8 Bump package version 2019-09-04 14:04:31 -04:00
Danny McCormick f2d01998f0
Update RELEASES.md 2019-09-03 14:42:04 -04:00
Danny McCormick 99d3ad0a64
Use readFileSync instead of require (#101)
* Use readFileSync instead of require

* error handling
2019-08-30 13:02:45 -04:00
Guillaume Clochard ac36ca4405 Small fix for the tool-cache extract example (#99)
* Fix tool-cache extract example

* Use extractZip or extract7z in tool-cache example fix
2019-08-29 11:08:06 -04:00
Jonathan Clem 92e6443cf0
End group in core.group regardless of error thrown 2019-08-28 22:47:37 -04:00
Jonathan Clem 8f9992ca17
Add assertion for return value of core.group 2019-08-28 22:38:30 -04:00
Jonathan Clem 80fc75ef9c
Fix readme 2019-08-28 22:36:17 -04:00
Jonathan Clem 8b9dfa809b
Add group functions to core 2019-08-28 22:35:27 -04:00
AEnterprise 37202e8dbc fix syntax error in output example (#84) 2019-08-26 08:41:40 -04:00
Bryan MacFarlane 7cd421b8bc lint fixes 2019-08-25 00:55:22 -04:00
Bryan MacFarlane 17a0aa40f3 taking out some tests 2019-08-25 00:26:39 -04:00
Bryan MacFarlane a2078cf37c raising not implemented earlier 2019-08-24 09:22:38 -04:00
Bryan MacFarlane 4ebc9007c0 removing not implemented function from docs 2019-08-24 09:17:35 -04:00
Bryan MacFarlane f66f5629b3 updating keywords 2019-08-23 17:39:40 -04:00
Danny McCormick 6b9630ac94 Add RELEASES.md for each package, bump tool-cache to publish (#67) 2019-08-22 13:14:49 -04:00
Josh Soref ad054c855d Spelling (#72)
* spelling: check in

* spelling: compatibility

* spelling: definitely

* spelling: does not

* spelling: maintaining

* spelling: nonexistent

* spelling: precede

* spelling: response

* spelling: was not
2019-08-21 15:31:44 -04:00
Danny McCormick 7d605994f9
Comment nit 2019-08-21 12:54:24 -04:00
Jason Etcovitch 1d687b2170 tool-cache/README.md 2019-08-21 01:18:31 -04:00
Jason Etcovitch a796c65f64 io/README.md 2019-08-21 01:18:21 -04:00
Jason Etcovitch 5e3e440c7f exec/README.md 2019-08-21 01:18:00 -04:00
Jason Etcovitch db9fd45770 Missed one 2019-08-21 01:16:47 -04:00