Commit Graph
145 Commits
Author SHA1 Message Date
Brian Cristante 733f34c106 Update other packages to use http-client v2 (#1082)
We moved `@actions/http-client` to be part of the toolkit in https://github.com/actions/toolkit/pull/1062.  We also made some breaking changes to exported types and released v2.

The biggest change in terms of lines of code affected was to get rid of the `I-` prefix for interfaces since TypeScript doesn't follow this convention.

I bumped the patch version of all packages except for `tool-cache`, where I bumped the major version.  The rationale is explained in the release notes for that package.
2022-05-11 17:14:25 -04:00
Rob Herley 3c89398104 Merge pull request #1074 from actions/robherley/core-1.8.0-release
@actions/core 1.8.0 release
2022-05-05 16:24:45 -04:00
Rob Herley dd1a14a82f @actions/core 1.8.0 release 2022-05-05 20:17:30 +00:00
Rob Herley d1bfb96f08 Merge pull request #1073 from actions/robherley/deprecate-markdownsummary
Add & deprecate old markdownSummary export
2022-05-05 16:07:16 -04:00
Rob Herley 8b902d5a64 add & deprecate old markdownSummary export 2022-05-05 19:44:13 +00:00
Rob Herley c0b27a0570 Merge pull request #1072 from actions/robherley/not-markdown-summaries
Rename core's `markdownSummary` extension to `summary`
2022-05-05 14:17:33 -04:00
Rob Herley 1a0e861f95 sed 's/markdownSummary/summary/g' 2022-05-05 17:29:20 +00:00
Rob Herley d2ae8adf1c Merge pull request #1059 from actions/robherley/core-1.7.0-release
@actions/core 1.7.0 release
2022-04-25 09:14:37 -04:00
Rob Herley 82fd8914f9 @actions/core 1.7.0 release 2022-04-20 20:42:50 +00:00
Rob Herley b75be6a281 summary: remove limit validation in client 2022-04-20 20:10:56 +00:00
Rob Herley a2b99cb0ed summary: increase limit to 1MiB 2022-04-20 19:55:54 +00:00
Rob Herley e7b0b200ee feedback: add summary write options 2022-03-08 16:37:20 -05:00
Rob Herley 9af55c1ec4 summary: consistent kB usage and doc links 2022-03-03 11:46:32 -05:00
Rob Herley 2e08a0cfe2 summary: method to clear file and buffer 2022-03-02 23:56:30 -05:00
Rob Herley 5b367b8566 add -> addRaw 2022-03-02 23:49:17 -05:00
Rob Herley cb16058f2b summary: additional check for max size limit 2022-03-02 23:43:51 -05:00
Rob Herley 2660585298 summary: add link/anchor element 2022-03-02 12:10:01 -05:00
Rob Herley 3b0329b605 summary: add tests 2022-03-02 00:58:18 -05:00
Rob Herley dad2219f5f summary: self closing tags, additional img attrs & minor fixes 2022-03-02 00:57:46 -05:00
Rob Herley 06c013bb18 export markdownSummary singleton from core 2022-03-01 21:32:26 -05:00
Rob Herley 948500f7d8 summary.ts -> markdown-summary.ts 2022-03-01 21:16:35 -05:00
Rob Herley a271f7f084 add more summary elements, clean up jsdoc 2022-03-01 21:14:58 -05:00
Rob Herley ec56487f61 '\n' -> os.EOL 2022-03-01 20:55:43 -05:00
Rob Herley bde8656ad7 html element wrapper method for md summary 2022-03-01 20:36:04 -05:00
Rob Herley 50e15ca59a addText -> add, newline by default 2022-02-23 18:15:26 -05:00
Rob Herley 5793955c7d initial markdown summary utils 2022-02-23 18:09:05 -05:00
58b7fc7482 Full release of actions/core 1.6.0 with oidc behavior (#919)
* OIDC Client for actions/core

Co-authored-by: Sourav Chanduka <souravchanduka37@gmail.com>
Co-authored-by: Sourav Chanduka <souravchanduka@users.noreply.github.com>
Co-authored-by: Tingluo Huang <tingluohuang@github.com>
2021-09-28 12:55:21 -04:00
Marcono1234 6f27cc2cb8 Add file property to AnnotationProperties (#896) 2021-09-28 09:47:06 -04:00
Luke Tomlinson d33d89dce4 Update release for core 1.5.0 (#873)
* Update release for core 1.5.0

* Update RELEASES.md

* Run npm audit fix
2021-08-18 09:26:19 -04:00
Luke Tomlinson 980690568a Add notice annotation and support more annotation fields (#855)
* Add support for notice annotation and additional properties

* Add additional tests

* Update readme

* Change casing for endLine and endColumn

* Update utils.ts

* Update README.md

* Rename files to have internal- nomenclature

* Revert "Rename files to have internal- nomenclature"

This reverts commit 7911689f296f7e630ac6670334dd677d9db3fb1c.

* Update utils.ts
2021-07-28 17:34:31 -04:00
Thomas Boop 84d186140a New versions of toolkit packages (#835) 2021-06-07 15:09:34 -04:00
Thomas BoopandKipras Melnikovas 95127ffbbd Sarpik/get input list support (#829)
* feat(core): Create `getInputList` utility

Signed-off-by: Kipras Melnikovas <kipras@kipras.org>

* chore(core): Document usage of '\n' instead of [] @ `getInputList`

Signed-off-by: Kipras Melnikovas <kipras@kipras.org>

* test(core): Create a very simple test for `getInputList`

Signed-off-by: Kipras Melnikovas <kipras@kipras.org>

* run linter

* update commands/readme

Co-authored-by: Kipras Melnikovas <kipras@kipras.org>
2021-06-04 09:28:49 -04:00
Thomas Boop 3df82c131b prep for actions core 1.3.0 release (#816) 2021-05-21 09:19:53 -04:00
Thomas Boop 7d8bf89e07 Re-enable the audit tools step and update dependencies (#815)
* update package versions

* run audit

* fix eslint config

* linter updates

* re-enable audit

* update timeouts test

* pass done into callback

* fix format
2021-05-21 09:19:40 -04:00
rethab e1e3352389 Describe behaviour of getInput (#808) 2021-05-19 11:08:51 -04:00
Luke Tomlinson 7ebec596c8 Core: Add trimWhitespace to getInput (#802)
* Add option to not trim whitespace from inputs

* Fix typos

* Add doc clarification

* Rename options
2021-05-11 13:51:36 -04:00
yi_Xu ef4cf8f02d feat(core): add getBooleanInput function (#725)
* feat(core): add getBooleanInput function

* docs(core): update readme

* test(core): update the core.test.ts
2021-04-28 16:32:25 -04:00
eric sciple 3b8c85218c Prepend newline for set-output (#772) 2021-04-13 12:01:19 -05:00
Tom Jenkinson 0910cf588c fix formatting in core package readme (#563) 2021-04-12 09:50:56 -04:00
Konrad Pabjan 5e1820d31f Documentation around colored output in logs (#583) 2020-09-24 16:38:19 +02:00
Thomas Boop 00c8ccbfb7 Actions core 1.2.6 release (#582) 2020-09-23 12:10:51 -04:00
Thomas Boop 4e6fd9c7f7 Add File Commands (#571)
* Add File Commands

* pr updates w/ feedback

* run format

* fix lint/format

* slight update with an example in the docs

* pr feedback
2020-09-23 11:19:20 -04:00
Thomas Boop 73fbf4efc7 Actions/core v1.2.5 release notes (#562) 2020-08-26 15:09:39 -04:00
Thomas Boop 2ec0357ff7 Add License.md to all npm packages (#548)
* Add License.md to all npm packages
2020-08-25 16:26:50 -04:00
Thomas Boop fed8938035 Set main as the default branch (#527)
* set main as the default branch

* revert change to tool-cache default branch

* use versions where applicable
2020-07-21 11:33:05 -04:00
Thomas Boop e00a7d2560 Pipe audit results to a json file so lerna does not overflow (#515)
* Pipe audit results to a json file so lerna does not overflow

* reorder flags and args
2020-07-14 16:05:53 -04:00
Thomas Boop b97a4285dd Add core.info to Logging section 2020-06-24 10:48:13 -04:00
Thomas Boop 3800f6999e Explicitly exclude DS store files (#492) 2020-06-04 15:14:19 -04:00
Thomas Boop eba4fa1658 @actions/core 1.2.4 + release notes (#439) 2020-04-30 09:48:16 -04:00
Josh Soref 7bc9cba62a Spelling (#431)
* spelling: absolute

* spelling: content

* spelling: received

* spelling: sanitizes
2020-04-27 09:13:56 -04:00