/swift-playgrounds-action

A GitHub action to run Swift playgrounds

Primary LanguageShell

Swift Playgrounds Action

GitHub Marketplace Playgrounds CI

A simple GitHub action to run Swift Playgrounds.

Important: Make sure your '.playground' folders are in the repos root directory.

Note: This action will not work for '.playgroundbook's (as of now).

Usage

name: Playgrounds CI

on:
  push:
    branches: [ master ]
  pull_request:
    branches: [ master ]

jobs:
  run-playgrounds:
    runs-on: macos-latest

    steps:
      - uses: actions/checkout@v2
      - uses: thisisthefoxe/swift-playgrounds-action@v1