Skip to content

Commit

Permalink
Use matrix build on CI
Browse files Browse the repository at this point in the history
  • Loading branch information
StefMa authored Oct 14, 2024
1 parent 8f04719 commit 477b196
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/fresh-to-vercel-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,17 @@ on:
jobs:
createExampleAndDeployToArtifacts:
runs-on: ubuntu-latest
strategy:
matrix:
hugo: ['0.120.0', '0.135.0', 'latest']
steps:
- name: Checkout
uses: actions/checkout@v4

- 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
Expand Down

0 comments on commit 477b196

Please sign in to comment.