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
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 Clem
92e6443cf0
End group in core.group regardless of error thrown
2019-08-28 22:47:37 -04:00
Jonathan Clem
8b9dfa809b
Add group functions to core
2019-08-28 22:35:27 -04:00
Bryan MacFarlane
7cd421b8bc
lint fixes
2019-08-25 00:55:22 -04:00
Bryan MacFarlane
a2078cf37c
raising not implemented earlier
2019-08-24 09:22:38 -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
3004de4b40
Remove neutral exit code references
2019-08-06 09:12:30 -04:00
Danny McCormick
e85d20fbb0
Combine exit into core; Remove toolkit ( #21 )
...
* Combine exit into core
* Remove toolkit
* Format
* Format
* Try to fix diff
* Try to fix diff
* Format
* Add gitattributes
* Use unix endings
* gitattributes is not a txt file
* Renormalize line endings
2019-06-25 13:54:41 -04:00
Matt Cooper
b8a0fd6e78
object shorthand syntax
...
...is an abomination, but I don't make the rules =P
2019-06-25 07:19:19 -04:00
Matt Cooper
9b0b345617
npm run format
2019-06-25 07:11:28 -04:00
Matt Cooper
55c0e7020e
add set-output command
2019-06-24 16:14:47 -04:00
Danny McCormick
9bf86bb363
Add addPath to core ( #13 )
...
* Add add-path
* Format
* lint
2019-06-04 22:00:25 -04:00
Jonathan Clem
4f5f4f2fb8
Add lots of linting
2019-05-21 17:08:25 -04:00
Jonathan Clem
b05738788e
Rename command import in core.ts
2019-05-21 15:26:44 -04:00
Jonathan Clem
ab9b8a0c87
Rename escapedata to escapeData
2019-05-21 15:24:46 -04:00
Jonathan Clem
8cdf51d182
Remove "public" explicit accessibility
2019-05-21 15:23:21 -04:00
Danny McCormick
140d6cd367
Run formatter
2019-05-21 14:45:27 -04:00
Danny McCormick
6bd119002c
Add internal disclaimer in command.ts
2019-05-21 14:44:37 -04:00
Danny McCormick
b25c8772ed
set-env instead of set-variable
2019-05-21 14:40:57 -04:00
Danny McCormick
ea0dd28ea7
Clean up/respond to feedback
2019-05-21 14:38:29 -04:00
Jonathan Clem
c3ed3b105f
Fix namespace use in core.ts
2019-05-21 12:03:13 -04:00
Jonathan Clem
062a6bb046
Use ExitCode from @actions/exit
2019-05-21 12:00:23 -04:00
Jonathan Clem
90008fc46b
Use ES imports
2019-05-21 11:46:02 -04:00
Jonathan Clem
978b6e02dd
Fix ESLint errors
2019-05-21 10:54:28 -04:00
Jonathan Clem
451bb07ec4
Run npm run lint -- --fix
2019-05-21 10:51:22 -04:00
Danny McCormick
97c1e7df5a
Run linter
2019-05-20 19:17:56 -04:00
Danny McCormick
5f31b6acfc
Add tests, getInput should be case-insensitive and trim output
2019-05-17 10:31:07 -04:00
Bryan MacFarlane
a97380e90d
update inputs and variables
2019-05-17 10:23:01 -04:00
Bryan MacFarlane
780a5985b4
starting on core
2019-05-16 23:36:45 -04:00
Danny McCormick
917c389219
Match core to spec (still work to do)
2019-05-16 17:16:39 -04:00
Danny McCormick
5f66339fde
Add Bryan's core code
2019-05-16 16:40:21 -04:00