From 477b1969298692f5ee8559e478f46bfa96e9aa02 Mon Sep 17 00:00:00 2001 From: "Stefan M." Date: Mon, 14 Oct 2024 08:32:45 +0200 Subject: [PATCH] Use matrix build on CI --- .github/workflows/fresh-to-vercel-pr.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/fresh-to-vercel-pr.yml b/.github/workflows/fresh-to-vercel-pr.yml index 488312bf..7b9af7fe 100644 --- a/.github/workflows/fresh-to-vercel-pr.yml +++ b/.github/workflows/fresh-to-vercel-pr.yml @@ -6,6 +6,9 @@ on: jobs: createExampleAndDeployToArtifacts: runs-on: ubuntu-latest + strategy: + matrix: + hugo: ['0.120.0', '0.135.0', 'latest'] steps: - name: Checkout uses: actions/checkout@v4 @@ -13,7 +16,7 @@ jobs: - name: Setup Hugo uses: peaceiris/actions-hugo@v3 with: - hugo-version: '0.120.0' + hugo-version: ${{ matrix.hugo }} extended: true - name: Build with Hugo on PR