Tingluo Huang
5c16b2f4fa
Add core.isDebug() to check whether actions_step_debug is on or not. ( #278 )
2020-03-02 07:45:27 -05:00
eric sciple
2b0ce083d5
fix command escaping ( #302 )
2020-01-18 23:52:44 -05:00
eric sciple
b19342852d
remove trailing comma from commands ( #263 )
2019-12-18 13:23:16 -05:00
Josh Gross
fa4619c3e0
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
49dd720622
setSecret ( #174 )
...
* setSecret
2019-10-01 17:13:05 -04:00
Bryan MacFarlane
82acbdc69f
updating core docs and bumping version ( #172 )
...
updating core docs and bumping version
2019-10-01 13:53:09 -04:00
Tingluo Huang
2d76cc5d95
fix lint.
2019-09-19 22:18:51 -04:00
Tingluo Huang
96be7a648f
fix lint.
2019-09-19 22:14:12 -04:00
Tingluo Huang
5059892ff6
add core method to saveState and getState.
2019-09-19 22:02:45 -04:00
Marc Nuri
7f6336dd23
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
damccorm
90d19db45d
Fix tests
2019-09-09 11:57:17 -04:00
Danny McCormick
85d6944e6c
Update to use :: instead of ## ( #110 )
...
* Update to use :: instead of ##
* Missed test
2019-09-09 11:46:17 -04:00
Jonathan Clem
7891461525
Add assertion for return value of core.group
2019-08-28 22:38:30 -04:00
Jonathan Clem
aba89f20d2
Add group functions to core
2019-08-28 22:35:27 -04:00
Bryan MacFarlane
29a2ccdcd9
taking out some tests
2019-08-25 00:26:39 -04:00
Josh Soref
903a3321ea
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
85758ab4f0
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
114d07bdd6
add set-output command
2019-06-24 16:14:47 -04:00
Danny McCormick
3cb7227392
Add addPath to core ( #13 )
...
* Add add-path
* Format
* lint
2019-06-04 22:00:25 -04:00
Jonathan Clem
cca8b40ef2
Add lots of linting
2019-05-21 17:08:25 -04:00
Danny McCormick
6f80fb9588
set-env instead of set-variable
2019-05-21 14:40:57 -04:00
Danny McCormick
ae6ec27f38
Clean up/respond to feedback
2019-05-21 14:38:29 -04:00
Jonathan Clem
9017484712
DRY up asserts on process.stdout.write
2019-05-21 12:34:47 -04:00
Jonathan Clem
03fa5fa899
Use a Jest mock to test process.stdout.write
...
Instead of manually mocking, we can instead use `jest.fn()` and assert that the correct calls were made.
2019-05-21 12:27:43 -04:00
Jonathan Clem
2cbd1ae481
Remove environment variables after we set them
2019-05-21 12:14:15 -04:00
Jonathan Clem
e9f77276e1
DRY up core tests
2019-05-21 11:23:35 -04:00
Jonathan Clem
567489cd86
'use strict' not necessary in TypeScript
2019-05-21 11:09:41 -04:00
Jonathan Clem
e9aa8aaae2
Format lib.test.ts
2019-05-21 10:11:39 -04:00
Danny McCormick
3c31358548
Finish test suite
2019-05-17 14:12:54 -04:00
Danny McCormick
43a9421444
Add tests, getInput should be case-insensitive and trim output
2019-05-17 10:31:07 -04:00
Danny McCormick
524301a9cf
Add tests
2019-05-17 10:23:39 -04:00
Danny McCormick
9d663a0ac6
Match core to spec (still work to do)
2019-05-16 17:16:39 -04:00
Danny McCormick
1f64f9aa51
Add Bryan's core code
2019-05-16 16:40:21 -04:00