Skip to content

fix #525

fix #525 #112

name: Create Release
# Create XCFramework when a version is tagged
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
create_release:
name: Create Release
runs-on: macos-13
steps:
- uses: actions/checkout@main
with:
submodules: 'true'
- name: Set up Xcode
run: |
sudo xcode-select -s /Applications/Xcode_15.0.app/Contents/Developer
xcode-select -p
xcodebuild -version
- name: Build
run: swift build -v -c release
- name: Test
run: swift test -v
- uses: actions/upload-artifact@main
with:
name: KSPlayer
path: Sources