Skip to content

Update tests.yml

Update tests.yml #7

Workflow file for this run

name: tests
on:
push:
branches: [ main, master ]
pull_request:
branches: [ main, master ]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: ["ubuntu-latest", "windows-latest", "macos-latest"]
steps:
- uses: actions/checkout@v4.1.1
- uses: ./
with:
macos: echo "Hi from macos"
linux: |
echo "Hi from linux"
echo "Hi from linux second line"
windows: echo "Hi from windows"
windowsShell: cmd
- uses: ./
with:
macos: echo "test2"
linux: echo "test2"
windows: echo "test2"
windowsShell: cmd
- uses: carlkidcrypto-os-specific-runner@main
with:
macos: echo "Hi from macos"
linux: |
echo "Hi from linux"
echo "Hi from linux second line"
windows: echo "Hi from windows"
- uses: carlkidcrypto-os-specific-runner@main
with:
macos: echo "test2"
linux: echo "test2"
windows: echo "test2"
windowsShell: cmd