workflow: check with minimum supported version of Hugo (#163)
added build job that checks with the minimum supported version of Hugo
This commit is contained in:
parent
71425a377a
commit
aa5967140d
1 changed files with 14 additions and 1 deletions
15
.github/workflows/main.yml
vendored
15
.github/workflows/main.yml
vendored
|
@ -3,7 +3,7 @@ name: Build with Hugo
|
||||||
on: [push]
|
on: [push]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
hugo:
|
hugo-latest:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@master
|
- uses: actions/checkout@master
|
||||||
|
@ -18,3 +18,16 @@ jobs:
|
||||||
- name: Run Hugo
|
- name: Run Hugo
|
||||||
working-directory: exampleSite
|
working-directory: exampleSite
|
||||||
run: hugo --themesDir ../..
|
run: hugo --themesDir ../..
|
||||||
|
hugo-minimum:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@master
|
||||||
|
|
||||||
|
- name: Install Hugo
|
||||||
|
run: |
|
||||||
|
wget "https://github.com/gohugoio/hugo/releases/download/v0.60.0/hugo_extended_0.60.0_Linux-64bit.deb" -O /tmp/hugo.deb
|
||||||
|
sudo dpkg -i /tmp/hugo.deb
|
||||||
|
|
||||||
|
- name: Run Hugo
|
||||||
|
working-directory: exampleSite
|
||||||
|
run: hugo --themesDir ../..
|
||||||
|
|
Loading…
Reference in a new issue