-
Notifications
You must be signed in to change notification settings - Fork 3
40 lines (37 loc) · 1.02 KB
/
main.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
name: ci
on:
pull_request:
push:
branches:
- main
jobs:
semantic-pull-request:
uses: VeryGoodOpenSource/very_good_workflows/.github/workflows/semantic_pull_request.yml@v1
e2e:
strategy:
fail-fast: false
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: ./
with:
cache: true
- if: runner.os != 'Windows'
run: |
if [[ $(shorebird --version) =~ "Engine • revision" ]]; then
echo '✅ Shorebird CLI is installed!'
else
echo '❌ Shorebird CLI is not installed.'
exit 1
fi
- if: runner.os == 'Windows'
run: |
$shorebird_version = shorebird --version
if ($shorebird_version -match "Engine") {
Write-Output "✅ Shorebird CLI is installed!"
} else {
Write-Output "❌ Shorebird CLI is not installed."
exit 1
}