Refactor: Get the latest version from Homebrew (#28)

Refactoring

* feat: Add reject to Promise
* feat: Add printing inputs
* feat: Add error handling to getLatestVersion()
* feat: show version of Hugo, Go, and Git (Close #23)
* refactor: Get the latest version from Homebrew (Close #26)
* refactor: enhance error message of promise reject

Enhancement for workflow

* gha: Add deps (test-prod job needs test job)
* gha: Fix matrix testing
* gha: comment out Build production step
* gha: remove Dump step

Update README

* docs: update readme
This commit is contained in:
Shohei Ueda
2019-09-18 04:11:47 +09:00
committed by GitHub
parent 85171ece4e
commit d46d0aa12e
6 changed files with 102 additions and 86 deletions

View File

@@ -26,6 +26,7 @@
"homepage": "https://github.com/peaceiris/actions-hugo#readme",
"dependencies": {
"@actions/core": "^1.1.0",
"@actions/exec": "^1.0.1",
"@actions/io": "^1.0.1",
"@actions/tool-cache": "^1.1.1",
"xmlhttprequest": "^1.8.0"