Skip to content
This repository was archived by the owner on Apr 4, 2024. It is now read-only.

test

test #3

Workflow file for this run

name: CI
on:
push:
jobs:
test:
name: CI on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
steps:
- name: Extract platform
if: always()
run: echo "platform=$(echo ${{ matrix.os }} | cut -d '-' -f 1)" >> $GITHUB_ENV
- name: Failure
run: exit -1
- name: Echo platform
if: ${{ env.platform == 'ubuntu' && always() }}
run: echo "${{ env.platform }}"