Skip to content

feat: add support for windows #16

feat: add support for windows

feat: add support for windows #16

Workflow file for this run

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-macos-linux:
strategy:
fail-fast: false
matrix:
os: [macos-latest, ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: ./
with:
is_windows: ${{ matrix.os == 'windows-latest' }}
- run: |
if [[ $(shorebird --version) =~ "Shorebird Engine • revision" ]]; then
echo '✅ Shorebird CLI is installed!'
else
echo '❌ Shorebird CLI is not installed.'
exit 1
fi
e2e-windows:
strategy:
fail-fast: false
matrix:
os: [windows-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: ./
with:
is_windows: ${{ matrix.os == 'windows-latest' }}
- run: |
$shorebird_version = shorebird --version
if ($shorebird_version -match "Shorebird Engine") {
Write-Output "✅ Shorebird CLI is installed!"
} else {
Write-Output "❌ Shorebird CLI is not installed."
exit 1
}