1
0
Fork 0
Commit Graph

81 Commits (f8d90ef5befaaf7f44298e405229a421823337c3)

Author SHA1 Message Date
Lovepreet Singh 9b58167dc9
Merge pull request #888 from martincostello/Fix-Docs
Fix endColumn documentation
2022-10-14 21:26:17 +05:30
Francesco Renzi b00a9fd033
Add save-state and set-output file commands (#1178) 2022-09-29 14:45:02 +01:00
Takanori Oishi 33f1d64363
fix: getMultilineInput trims whitespace 2022-09-28 12:54:12 +09:00
Thomas Boop 30995490f2
Update lerna dependency. (#1149)
* fix audit

* update linter
2022-08-08 14:39:23 -04:00
Cory Miller 4beda9cbc0
Merge pull request from GHSA-7r3h-m5j6-3q42
* use uuid as our multiline env delimiter

* remove extra fn

* Fix version

* also throw error if delimiter is found in name or value

* move delimiter and uuid to global var in test

* upgrade uuid to newest version

* remove spy variable

* Update packages/core/src/core.ts

Co-authored-by: Thomas Boop <52323235+thboop@users.noreply.github.com>

* Update packages/core/src/core.ts

Co-authored-by: Thomas Boop <52323235+thboop@users.noreply.github.com>
2022-08-08 14:16:39 -04:00
Seth Vargo 00282d6145
core: add helpers for working with paths across OSes (#1102) 2022-06-15 11:18:44 -04:00
Brian Cristante aa676f3cc7
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 07242b37a4
add & deprecate old markdownSummary export 2022-05-05 19:44:13 +00:00
Rob Herley 3d29fb91d1
sed 's/markdownSummary/summary/g' 2022-05-05 17:29:20 +00:00
Rob Herley eef3e92175
summary: remove limit validation in client 2022-04-20 20:10:56 +00:00
Rob Herley ed87cc6ce3
summary: increase limit to 1MiB 2022-04-20 19:55:54 +00:00
Rob Herley edee7cde32
feedback: add summary write options 2022-03-08 16:37:20 -05:00
Rob Herley 6295f5d25b
summary: consistent kB usage and doc links 2022-03-03 11:46:32 -05:00
Rob Herley 339dd63bec
summary: method to clear file and buffer 2022-03-02 23:56:30 -05:00
Rob Herley d27bf857e6
add -> addRaw 2022-03-02 23:49:17 -05:00
Rob Herley ec5c955c0a
summary: additional check for max size limit 2022-03-02 23:43:51 -05:00
Rob Herley 302a5b31d8
summary: add link/anchor element 2022-03-02 12:10:01 -05:00
Rob Herley 70a01b86d3
summary: self closing tags, additional img attrs & minor fixes 2022-03-02 00:57:46 -05:00
Rob Herley 0fc0befe24
export markdownSummary singleton from core 2022-03-01 21:32:26 -05:00
Rob Herley 7d95d2cec9
summary.ts -> markdown-summary.ts 2022-03-01 21:16:35 -05:00
Rob Herley c42d30607b
add more summary elements, clean up jsdoc 2022-03-01 21:14:58 -05:00
Rob Herley ac58d176ba
'\n' -> os.EOL 2022-03-01 20:55:43 -05:00
Rob Herley 518ef1b79e
html element wrapper method for md summary 2022-03-01 20:36:04 -05:00
Rob Herley d496b07cc0
addText -> add, newline by default 2022-02-23 18:15:26 -05:00
Rob Herley 7a2eceac36
initial markdown summary utils 2022-02-23 18:09:05 -05:00
Thomas Boop 27f76dfe1a
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 60145e408c
Add `file` property to `AnnotationProperties` (#896) 2021-09-28 09:47:06 -04:00
martincostello 8b45e1e356 Fix endColumn documentation
Change "start" to "end".
2021-08-20 11:06:49 +01:00
Luke Tomlinson f0b00fd201
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 7911689f29.

* Update utils.ts
2021-07-28 17:34:31 -04:00
Thomas Boop bb2f39337d
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 0d74e9080a
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 3bd746139f
Describe behaviour of getInput (#808) 2021-05-19 11:08:51 -04:00
Luke Tomlinson b33912b7cc
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 fbdf27470c
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 e76decaf8a
Prepend newline for set-output (#772) 2021-04-13 12:01:19 -05:00
Thomas Boop 0759cdc230
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
Josh Soref 7257597d73
Spelling (#431)
* spelling: absolute

* spelling: content

* spelling: received

* spelling: sanitizes
2020-04-27 09:13:56 -04:00
Thomas Boop 05e39f551d
Add docs and wrapper for "echo" command (#411)
* Add docs and wrapper for "echo" command

* Update parameter to enabled
2020-04-13 13:25:54 -04:00
Thomas Boop 5b940ebda7
Be more lenient in accepting command inputs (#405)
* Be more lenient in accepting command inputs
2020-04-09 17:00:53 -04: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
eric sciple 8b0300129f
fix command escaping (#302) 2020-01-18 23:52:44 -05:00
eric sciple 568f12cee6
remove trailing comma from commands (#263) 2019-12-18 13:23:16 -05: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
Bryan MacFarlane 9d54cd22ea
setSecret (#174)
* setSecret
2019-10-01 17:13:05 -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
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
Danny McCormick ef4525e9dd
Add info for completeness (#111)
* Add info for completeness

* Linting

* Missing import
2019-09-09 11:46:48 -04:00