Skip to content

Instantly share code, notes, and snippets.

View ethomson's full-sized avatar
:shipit:

Edward Thomson ethomson

:shipit:
View GitHub Profile
name: Context Example
on: [push]
jobs:
build:
name: Inspect context
runs-on: ubuntu-latest
steps:
- name: Inspect context
name: Publish Documentation
on:
push:
branches:
- master
jobs:
build:
name: Build
name: Publish Documentation
on:
push:
branches:
- master
paths:
- 'docs/**'
jobs:
name: Docker
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
name: CI
on: [push]
jobs:
build:
runs-on: ubuntu-latest
container: 'node:current'
steps:
name: CI
on: push
jobs:
linux:
strategy:
matrix:
container:
- 'debian:7'
name: CI
on: push
jobs:
linux:
strategy:
matrix:
container:
- 'debian:7'
name: CI
on: [push]
jobs:
linux:
runs-on: ubuntu-latest
steps:
- run: sudo apt-get install ninja-build
- run: ninja --version
# test
name: CI
on: [push]
jobs:
linux:
runs-on: ubuntu-latest
steps:
- name: Checkout
# test
name: CI
on: [push]
jobs:
build:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]