Skip to content

Update sandbox.yml

Update sandbox.yml #48

Workflow file for this run

name: PWSH test
on:
push:
branches:
- pwsh-test
workflow_dispatch:
# allow manual runs on branches without a PR
jobs:
pwsh:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-11, macos-14]
runs-on: windows-latest

Check failure on line 16 in .github/workflows/sandbox.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/sandbox.yml

Invalid workflow file

You have an error in your yaml syntax on line 16
steps:
- name: Test
shell: pwsh
if: runner.os == 'Windows'
run: |
& "cmd.exe" /c "exit 1"
- name: Test
shell: pwsh
if: runner.os != 'Windows'
run: |
& "/bin/bash" -c "exit 1"
- name: Build wheels
uses: pypa/[email protected]