bd5a5edf1b
add support for ubuntu 22.04, drop ubuntu-18.04 - [starting with 8 of August 2022 support for ubuntu 18.04 is deprecated](https://github.blog/changelog/2022-08-09-github-actions-the-ubuntu-18-04-actions-runner-image-is-being-deprecated-and-will-be-removed-by-12-1-22/) - [ubuntu 22.04 is generally available](https://github.blog/changelog/2022-08-09-github-actions-ubuntu-22-04-is-now-generally-available-on-github-hosted-runners/)
39 lines
900 B
YAML
39 lines
900 B
YAML
name: Daily Test
|
|
|
|
on:
|
|
schedule:
|
|
- cron: '13 13 * * *'
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
test:
|
|
runs-on: ${{ matrix.os }}
|
|
strategy:
|
|
matrix:
|
|
os:
|
|
- 'ubuntu-22.04'
|
|
- 'ubuntu-20.04'
|
|
- 'ubuntu-latest'
|
|
- 'macos-latest'
|
|
- 'windows-latest'
|
|
hugo-version:
|
|
- 'latest'
|
|
- '0.61.0'
|
|
extended:
|
|
- true
|
|
- false
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
|
|
- name: Setup Hugo
|
|
uses: peaceiris/actions-hugo@v2.5.0
|
|
with:
|
|
hugo-version: ${{ matrix.hugo-version }}
|
|
extended: ${{ matrix.extended }}
|
|
|
|
- name: Run hugo version
|
|
run: echo "::set-output name=hugo_version::$(hugo version)"
|
|
id: hugo_version
|
|
|
|
- name: '${{ steps.hugo_version.outputs.hugo_version }}'
|
|
run: echo '${{ steps.hugo_version.outputs.hugo_version }}'
|