Commit Graph
48 Commits
Author SHA1 Message Date
damccorm 4ff3b554b8 Fix tests 2019-09-09 11:57:17 -04:00
damccorm 2a1b7d5c7e Merge branch 'master' of https://github.com/actions/toolkit 2019-09-04 14:04:40 -04:00
damccorm eaba9217f8 Bump package version 2019-09-04 14:04:31 -04:00
Danny McCormickandBryan MacFarlane 6b9630ac94 Add RELEASES.md for each package, bump tool-cache to publish (#67) 2019-08-22 13:14:49 -04:00
Danny McCormickandGitHub 7d605994f9 Comment nit 2019-08-21 12:54:24 -04:00
Danny McCormickandGitHub 8662b07822 Remove format step 2019-08-13 16:03:45 -04:00
Danny McCormickandGitHub 938549d01a Add status badge 2019-08-12 15:09:43 -04:00
Danny McCormickandGitHub 079812ed8a Add github package to readme 2019-08-12 14:28:37 -04:00
Danny McCormickandGitHub 4c46ecfd35 Add debug info 2019-08-09 13:55:59 -04:00
Danny McCormick a40bce7c8d Publish
Main workflow / Run Windows (push) Has been cancelled
Main workflow / Run Ubuntu (push) Has been cancelled
- @actions/[email protected]
 - @actions/[email protected]
 - @actions/[email protected]
 - @actions/[email protected]
 - @actions/[email protected]
2019-08-07 13:33:06 -04:00
Danny McCormickandGitHub 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 McCormickandGitHub da76d1fd39 Update versioning guidance (#40)
* Update versioning guidance

* Missing step
2019-08-06 08:17:49 -04:00
Danny McCormickandGitHub fc9958ec6a Fix exports 2019-08-05 08:53:51 -04:00
Danny McCormickandGitHub f9ab88cdc3 Fix link 2019-08-04 14:12:04 -04:00
Danny McCormickandBryan MacFarlane 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 027a230b99 Correct github interfaces 2019-08-02 15:25:51 -04:00
Danny McCormickandGitHub dfccb207bf Call out node_modules behavior (#37)
* Update node12-action.md

* Update node12-action.md

* Update node12-action.md
2019-08-01 17:08:30 -04:00
Danny McCormickandGitHub 4a7f2143e6 Get token from input in doc 2019-07-31 16:19:47 -04:00
Danny McCormickandGitHub 5218a83722 Check the right variables (#35) 2019-07-30 12:31:36 -04:00
Danny McCormickandGitHub 2a2b51f939 Add github package (#32)
* Add github package

* Docs

* Feedback

* Accidentally added extra

* Allow octokit to be extended

* Respond to feedback

* Feedback
2019-07-29 13:09:32 -04:00
Danny McCormickandGitHub 4f5cf60872 Update workflow.yml (#34) 2019-07-25 23:08:57 -04:00
Danny McCormickandGitHub 0a64f32b4e Update workflow.yml 2019-07-25 23:00:31 -04:00
Danny McCormickandGitHub 9aacf6aeaa Propose github package spec (#31)
* Create github-package.md

* Add getters for issue/repo

* Update github-package.md
2019-07-22 16:26:28 -04:00
Danny McCormick 5a1b82748e Merge branch 'master' of https://github.com/actions/toolkit 2019-07-11 16:14:13 -04:00
Danny McCormick d78ededdcb Remove legacy workflow 2019-07-11 16:14:02 -04:00
Danny McCormickandGitHub df0101c5c3 v2 workflow (#30)
* Create workflow.yml

* Try lower version of node

* Try running tests serially

* Start jest directly

* Start jest directly

* Start jest directly

* Start jest directly

* Dont test exec on windows right now

* Dont test exec on windows right now
2019-07-11 16:12:50 -04:00
Danny McCormickandGitHub d293c20cc9 Dont stamp over stdout (#29) 2019-07-11 15:02:45 -04:00
Danny McCormickandGitHub d919136160 Fix cp and mv (#26) 2019-07-09 09:56:01 -04:00
Danny McCormickandGitHub 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
Danny McCormickandGitHub d8737aa49c Normalize package versions (#20) 2019-06-24 14:36:36 -04:00
Danny McCormickandGitHub 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 McCormickandGitHub 9bf86bb363 Add addPath to core (#13)
* Add add-path

* Format

* lint
2019-06-04 22:00:25 -04:00
Danny McCormickandGitHub c5f27c3c1b Add exec (#10)
* Add exec

* Fix linux tests

* unnecessary dependency

* Dont prefix ExecOptions with I

* Consistency nits

* Respond to feedback

* Add toolrunner explanatory quote

* Format
2019-05-28 15:21:45 -04:00
Danny McCormickandGitHub 8ebbf59cb3 Copy file into directory (#11)
* Copy file into directory

* Add test and check if file exists before stating

* Format
2019-05-28 13:57:16 -04:00
Danny McCormickandGitHub 08db5110c6 Add io (#5)
* Add io lib

* io cleanup

* Run format script

* Fix lint errors with autofix

* Fix equality lint errors

* Rename ioUtil to io-util

* Add no-import-requires

* Run auto-fix lint

* Remove lint errors

* Use Boolean() to convert options

- `CopyOptions` on `cp` now defaults to empty
- Setting option values is easier now

* Rewrite packages/io to be fully async

* Move IS_WINDOWS into ioUtil

* DRY up cp/mv by moving shared code into move function

* Remove unc support, change isDirectory call to stat

* Tighter try catches

* more concise extensions search

* Allow isDirectory to be stat or lstat

* format

* Shell out to rm -rf

* Remove unc comment

* Export fs.promises from io-util

* Remove unknown error message

* Create an optimistic mkdirp

* Update io-util.ts

* Update io-util.ts

* Update io.test.ts

* Fix tests for mkdirP
2019-05-22 16:05:34 -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
Danny McCormick 97c1e7df5a Run linter 2019-05-20 19:17:56 -04:00
Danny McCormick e6cc6dc147 Finish test suite 2019-05-17 14:12:54 -04:00
Danny McCormick aa10eecbb0 Merge branch 'features/core' of https://github.com/actions/toolkit into features/core 2019-05-17 10:31:28 -04:00
Danny McCormick 5f31b6acfc Add tests, getInput should be case-insensitive and trim output 2019-05-17 10:31:07 -04:00
Danny McCormick 7c079ef90d Merge branch 'features/core' of https://github.com/actions/toolkit into features/core 2019-05-17 10:25:59 -04:00
Danny McCormick a526749ce9 Add tests 2019-05-17 10:23:39 -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