1
0
Fork 0
Commit Graph

161 Commits (415c42d27ca2a24f3801dd9406344aaea00b7866)

Author SHA1 Message Date
Thomas Boop 566ea66979
prep for actions core 1.3.0 release (#816) 2021-05-21 09:19:53 -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
Tom Jenkinson b05573d945
fix formatting in core package readme (#563) 2021-04-12 09:50:56 -04:00
Konrad Pabjan 2178f0baee
Documentation around colored output in logs (#583) 2020-09-24 16:38:19 +02:00
Thomas Boop a5e05630d8
Actions core 1.2.6 release (#582) 2020-09-23 12:10:51 -04: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
Thomas Boop c9819f79d2
Actions/core v1.2.5 release notes (#562) 2020-08-26 15:09:39 -04:00
Thomas Boop c2bc747506
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 ccad19055e
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 95a10d23fa
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 7a1a0dd6fc
Add core.info to Logging section 2020-06-24 10:48:13 -04:00
Thomas Boop 3e40dd39cc
Explicitly exclude DS store files (#492) 2020-06-04 15:14:19 -04:00
Thomas Boop 187d4aa625
@actions/core 1.2.4 + release notes (#439) 2020-04-30 09:48:16 -04:00
Josh Soref 7257597d73
Spelling (#431)
* spelling: absolute

* spelling: content

* spelling: received

* spelling: sanitizes
2020-04-27 09:13:56 -04:00
Pierre Grimaud a28977e977
Fix typos (#417) 2020-04-20 12:56:03 +02: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
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
eric sciple 6072c249ee
release notes (#317) 2020-01-21 13:25:05 -05:00
eric sciple 8b0300129f
fix command escaping (#302) 2020-01-18 23:52:44 -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 947ba5b559
bump versions (#295) 2020-01-09 17:31:27 -05:00
Bryan MacFarlane 803934eca0
audit security vulnerabilities as part of ci (#280) 2020-01-03 17:54:10 -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 5c894298f2
toolrunner should which tool before invoking (#220) 2019-11-18 16:20:01 -05:00
Bryan MacFarlane a65441cf46
bump core for release and docs (#189) 2019-10-18 15:35:13 -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 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
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
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
Danny McCormick 7f17a6e550
Update RELEASES.md 2019-09-05 16:04:32 -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 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
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
Jason Etcovitch db9fd45770 Missed one 2019-08-21 01:16:47 -04:00
Jason Etcovitch 770cf14bde
Highlight codeblocks in core/README.md 2019-08-20 22:15:05 -07:00
James M. Greene 00fc8b2580 Fix secrets reference syntax in README (#68) 2019-08-20 15:46:20 -04:00
James M. Greene 9821b26794 Fix syntax mistake in README (#55) 2019-08-13 18:13:12 -04:00
Thomas Boop eae6c87114
Add Action Debugging information (#46)
* Add Action Debugging information

* Small verbiage updates

* Update README.md

* minor grammar updates
2019-08-12 17:00:55 -04:00
Danny McCormick 4c46ecfd35
Add debug info 2019-08-09 13:55:59 -04:00
Danny McCormick d7f00ea0fd
Update package versions to 1.0.0 (#42)
* Update package versions to 1.0.0

* Fix package-lock
2019-08-07 12:56:34 -04:00
Danny McCormick 3004de4b40 Remove neutral exit code references 2019-08-06 09:12:30 -04:00
Danny McCormick 293aa1ae02 Update package docs (#38)
* Update README.md

* Add exec guidance

* Add io guidance

* Add tool-cache guidance

* Readability

* Readability

* Readability

* Nit

* Nit

* Nit
2019-08-04 09:00:04 -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 d8737aa49c
Normalize package versions (#20) 2019-06-24 14:36:36 -04:00
Danny McCormick 71a9b2d3ed
Add tool-cache (#12)
* Add tool-cache

* Format

* Fix linux bug

* Update readme

* Package zip/unzip

* Reorganize

* Format

* unzip somehow got corrupted, fixing

* Resolve remaining todos

* Don't log everything

* Pass error codes

* linting

* Branding and nits

* Fix for mac

* clean up windows/nix logic

* Clean up tests

* Export HTTPError

* Add option for custom 7z tool

* Lint/format

* Dont wipe temp/tool directories
2019-06-06 14:16:48 -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 f30996e6bb
DRY up asserts on process.stdout.write 2019-05-21 12:34:47 -04:00
Jonathan Clem 406242718f
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 11d5a53a98
Remove environment variables after we set them 2019-05-21 12:14:15 -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 a52644e6dd
DRY up core tests 2019-05-21 11:23:35 -04:00
Jonathan Clem 4439c53a40
'use strict' not necessary in TypeScript 2019-05-21 11:09:41 -04:00
Jonathan Clem f5d5c79c59
Fix .tsx typo 2019-05-21 11:07:42 -04:00
Jonathan Clem c999afbce1
Add links to code in package READMEs
Intsead of having to update the READMEs for each package whenever
TypeScript signatures change, link directly to the TypeScript code.
Later, we can run a Typedoc server, perhaps.
2019-05-21 11:05:50 -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
Jonathan Clem 3ca580438b
Format lib.test.ts 2019-05-21 10:11:39 -04:00
Danny McCormick 97c1e7df5a Run linter 2019-05-20 19:17:56 -04:00