actions-hugo/.github/workflows/test-action.yml

38 lines
828 B
YAML
Raw Normal View History

2020-01-17 18:16:00 +01:00
name: Daily Test
on:
2020-04-07 18:55:37 +02:00
push:
2020-01-17 18:16:00 +01:00
schedule:
- cron: '13 13 * * *'
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os:
- 'ubuntu-18.04'
- 'macos-latest'
- 'windows-latest'
hugo-version:
- 'latest'
- '0.61.0'
extended:
- true
- false
steps:
- uses: actions/checkout@v2
- name: Setup Hugo
uses: peaceiris/actions-hugo@v2
with:
hugo-version: ${{ matrix.hugo-version }}
extended: ${{ matrix.extended }}
2020-01-23 16:17:39 +01:00
- name: Run hugo version
run: echo "::set-output name=hugo_version::$(hugo version)"
id: hugo_version
2020-01-23 16:17:39 +01:00
- name: '${{ steps.hugo_version.outputs.hugo_version }}'
run: echo '${{ steps.hugo_version.outputs.hugo_version }}'