Daniel Kennedy
8246e3864b
@actions/core: convert to ESM module
2026-01-28 20:50:58 -05:00
Josh Gross
f8c54ddb00
Explicitly import crypto ( #1842 )
...
* Explicitly import `crypto`
* Add release notes for 1.11.1
* Fix crypto mock in test
* Fix `crypto` mock
* Lint
2024-10-04 17:23:42 -04:00
Josh Gross
41e924bdda
Remove dependency on uuid package ( #1824 )
2024-10-02 12:28:06 -04:00
Nikolai Laevskii
1716fe84ba
Add platform info utilities to @actions/core ( #1551 )
...
* Introduce platform utilities into @actions/core
* Add tests for the platform helper
* Update README.md
* Update README.md with more details
2023-11-14 14:15:26 -05:00
Vallie Joseph
15def3366b
Audit Fix ( #1480 )
...
* fixing audit failures
* replacing lerna bootstrap with npm command
* audit fix for cache and tool-cache
* updating tunnel
* upgrading core packages
* re-adding tunnel as prod dep
* updating dependencies
* updating exec deps
* updating exec io package
* .
* Revert
* updating packages
* adding core as dep
* updating learna config
* updating lerna commands
* Removing audit failing packages in cache + tool-cache
* updating contribution bootstrap description
* updating libraries
* prettier lint
* hiding stricter rules
* updating prettier command
* Removing unknown flag
* Adding eslint prettier
* ignoring sym links
* updating ignore path
* updating prettier rules
* changing prettier + github ver
* updating ts and ignores
* Revert ts
* Adding unknown ignores
* downgrading lerna
* .
* adding nx
* Adding lint auto lint rules
* updating eslint ignore for glob packages
* Adding subdirs to ignore
* adding flag for ignore pattern in linter
* Expanding ignore regex
* Adding ignore rules
* adding another ignore pattern to tsconfig eslint
* adding ignore pattern to eslintrc
* syncing package-json
* updating traverse
* .
* test adding core and http client to base package
* running npm ci
* adding tsconfig paths
* adding base URL
* Adding explicit path to core and http-client
* editing tsc call
* updating artifact packages
* force build
* updating lock file version
* updating lock file version
* upgrading node version
* Adding babel traverse back
* fixing build issue
* fixing typescript ver
* updating package json
* Adding ignore for artifact test
* adding ignore to flags
* unlink after test completes
* cleanup
* merge + package edit
2023-08-03 16:36:11 -04:00
Francesco Renzi
6508b1c66e
Add tests to ensure secrets are escaped
2023-05-25 10:59:41 +01:00
Francesco Renzi
4668a99c92
Add save-state and set-output file commands ( #1178 )
2022-09-29 14:45:02 +01:00
Takanori Oishi
21e32edf5f
fix: getMultilineInput trims whitespace
2022-09-28 12:54:12 +09:00
Thomas Boop
180be16292
Update lerna dependency. ( #1149 )
...
* fix audit
* update linter
2022-08-08 14:39:23 -04:00
Cory Miller and Thomas Boop
36ef95e076
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
330887d894
core: add helpers for working with paths across OSes ( #1102 )
2022-06-15 11:18:44 -04:00
Rob Herley
1a0e861f95
sed 's/markdownSummary/summary/g'
2022-05-05 17:29:20 +00:00
Rob Herley
b75be6a281
summary: remove limit validation in client
2022-04-20 20:10:56 +00:00
Rob Herley
e7b0b200ee
feedback: add summary write options
2022-03-08 16:37:20 -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
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
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 and Kipras 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
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
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
Pierre Grimaud
7b75e51445
Fix typos ( #417 )
2020-04-20 12:56:03 +02:00
Thomas Boop
6b8a8e58a9
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
a027ac4171
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
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