diff options
author | Vilhelm Prytz <vilhelm@prytznet.se> | 2020-03-01 00:35:10 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-01 00:35:10 +0100 |
commit | aa5967140dd7d19064401f4a68fc3fe528bd64c9 (patch) | |
tree | 63ef086bdda4b785f29abc6094b14a35191ed1d4 | |
parent | 71425a377a447b8743912795d0c8e585b7cedf52 (diff) |
workflow: check with minimum supported version of Hugo (#163)
added build job that checks with the minimum supported version of Hugo
-rw-r--r-- | .github/workflows/main.yml | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 8450880..a5ef8ac 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -3,7 +3,7 @@ name: Build with Hugo on: [push] jobs: - hugo: + hugo-latest: runs-on: ubuntu-latest steps: - uses: actions/checkout@master @@ -18,3 +18,16 @@ jobs: - name: Run Hugo working-directory: exampleSite 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 ../.. |