Commit Graph

16 Commits

Author SHA1 Message Date
Joel Male
528d756289 End action if an error is encountered 2021-02-26 13:50:26 +10:00
Joel Male
144f9e1d68 v2.0.2 2020-08-29 11:10:10 +10:00
Anand Chowdhary
aff8b23be8
Add support for failing check on HTTP error responses (#23) 2020-08-29 11:06:49 +10:00
Joel Male
0c4ba5b174 Add backwards compatibility 2020-08-27 18:25:12 +10:00
Joel Male
01d242f5b1 v2.0.1 2020-08-27 18:23:33 +10:00
Anand Chowdhary
517289c047
Add support for environment variables (fixed #17) (#19)
* v2.0.0 (#12)

- Convert project to Javascript/Typescript
- Allow custom headers to be passed in (optional)
- Allow body to be optional

* Update action.yml

* Update action.yml

* Add support for environment variables (fixed #17)

* Add support for header as environment variables

* Run build and package

Co-authored-by: Joel Male <joel@joelmale.com>
2020-08-27 18:14:30 +10:00
Joel Male
d3ff660fa9 Allow optional headers & body 2020-08-26 10:41:58 +10:00
Joel Male
5be5ae3f9a Prepare for release
- Final cleanup
2020-08-26 10:38:11 +10:00
Joel Male
db36b9f178 Attempt to have code wait for request to finish 2020-08-26 10:34:42 +10:00
Joel Male
cfebc00721 Attempt to fix missing status code output 2020-08-26 10:31:06 +10:00
Joel Male
d4413d8be7 Update logging for debug purposes 2020-08-26 10:25:43 +10:00
Joel Male
a2c63f8d08 Fix issue with res.status being undefined 2020-08-26 10:20:01 +10:00
Joel Male
f43e86409d Remove fetch, add axios 2020-08-26 10:10:43 +10:00
Joel Male
1cbd7b0bbc Add node-fetch 2020-08-26 10:00:45 +10:00
Joel Male
600d4f061c Small fixes to action.yml and action output 2020-08-26 09:50:21 +10:00
Joel Male
00f958821e Convert action to ts
- Add optional header support
- Add optional body support
2020-08-26 09:36:04 +10:00