mirror of
https://github.com/peaceiris/actions-hugo.git
synced 2026-01-24 20:12:15 +01:00
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:
20
.github/workflows/test.yml
vendored
20
.github/workflows/test.yml
vendored
@@ -18,19 +18,19 @@ jobs:
|
||||
# - name: Test script
|
||||
# run: npm test
|
||||
|
||||
- name: Build production
|
||||
run: npm run build
|
||||
# - name: Build production
|
||||
# run: npm run build
|
||||
|
||||
|
||||
test-prod:
|
||||
runs-on: ubuntu-18.04
|
||||
|
||||
needs: test
|
||||
strategy:
|
||||
matrix:
|
||||
hugo-version: [null]
|
||||
# hugo-version: [null, 'latest', '0.58.2']
|
||||
extended: [null]
|
||||
# extended: [null, true, false]
|
||||
# hugo-version: ['latest']
|
||||
# extended: [true]
|
||||
hugo-version: ['latest', '0.58.2']
|
||||
extended: [true, false]
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
@@ -40,9 +40,3 @@ jobs:
|
||||
with:
|
||||
hugo-version: ${{ matrix.hugo-version }}
|
||||
extended: ${{ matrix.extended }}
|
||||
|
||||
- name: Dump
|
||||
run: |
|
||||
hugo version
|
||||
go version
|
||||
git --version
|
||||
|
||||
Reference in New Issue
Block a user