Skip to content

Convert to Swift package and add tests #8

Convert to Swift package and add tests

Convert to Swift package and add tests #8

Workflow file for this run

name: Build
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
name: Build
runs-on: macos-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup Swift
uses: swift-actions/setup-swift@v2
- name: Build
run: swift build --configuration release
- name: Test
run: swift test
- name: Save artifacts
uses: actions/upload-artifact@v4
with:
name: macSubtitleOCR
path: .build/release/macSubtitleOCR