Skip to content

Commit

Permalink
ci: build on PRs too, without failing fast
Browse files Browse the repository at this point in the history
  • Loading branch information
mttbernardini committed May 7, 2024
1 parent 8912b79 commit 26de1b9
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,16 @@ name: Build

on:
push:
tags:
- 'v*'
tags: [ "v*" ]
branches: [ "main" ]
pull_request:
branches: [ "main" ]

jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: ${{ startsWith(github.ref, 'refs/tags/') }}
matrix:
os: [macos-latest, windows-latest]

Expand Down

0 comments on commit 26de1b9

Please sign in to comment.