Skip to content

Add Windows CI & CI badges #36

Add Windows CI & CI badges

Add Windows CI & CI badges #36

Workflow file for this run

name: Build Windows
on:
push:
pull_request:
workflow_dispatch:
defaults:
run: # Use powershell because bash is not supported: https://github.com/compnerd/gha-setup-swift/issues/18#issuecomment-1705524890
shell: pwsh
jobs:
build:
runs-on: windows-latest
steps:
- name: Setup
uses: compnerd/[email protected]
with:
branch: swift-5.10-release
tag: 5.10-RELEASE
- name: Checkout
uses: actions/checkout@v4
- name: Build product swift-bundler
run: |
Set-StrictMode -Version Latest
$ErrorActionPreference = "Stop"
$PSNativeCommandUseErrorActionPreference = $true
swift package resolve --vv