Skip to content

Build using swiftpm

Build using swiftpm #2

Workflow file for this run

name: Build Examples
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
Build FlappySwift:

Check failure on line 9 in .github/workflows/BuildExamples.yml

View workflow run for this annotation

GitHub Actions / Build Examples

Invalid workflow file

The workflow is not valid. .github/workflows/BuildExamples.yml (Line: 9, Col: 3): The identifier 'Build FlappySwift' is invalid. IDs may only contain alphanumeric characters, '_', and '-'. IDs must start with a letter or '_' and and must be less than 100 characters. .github/workflows/BuildExamples.yml (Line: 23, Col: 3): The identifier 'Build Pong' is invalid. IDs may only contain alphanumeric characters, '_', and '-'. IDs must start with a letter or '_' and and must be less than 100 characters.
runs-on: ${{ matrix.os }}
strategy:
matrix:
os:
- macos-latest
# - ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: finnvoor/swiftly-action@main
- uses: finnvoor/playdatesdk-action@main
- name: Build
working-directory: Examples/FlappySwift
run: swift package pdc
Build Pong:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os:
- macos-latest
# - ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: finnvoor/swiftly-action@main
- uses: finnvoor/playdatesdk-action@main
- name: Build
working-directory: Examples/Pong
run: swift package pdc