Skip to content

Commit

Permalink
fix github action
Browse files Browse the repository at this point in the history
  • Loading branch information
kingslay committed Mar 24, 2022
1 parent efc40b9 commit 26b403c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
jobs:
buidMacOS:
name: buidMacOS
runs-on: macos-12
runs-on: macos-11
steps:
- uses: actions/checkout@main
- name: Build
Expand All @@ -19,15 +19,15 @@ jobs:

buidIOS:
name: buidIOS
runs-on: macos-12
runs-on: macos-11
steps:
- uses: actions/checkout@main
- name: Build
run: swift build -Xswiftc "-sdk" -Xswiftc "`xcrun -sdk iphonesimulator -show-sdk-path`" -Xswiftc "-target" -Xswiftc "x86_64-apple-ios11.0-simulator"

buidTVOS:
name: buidTVOS
runs-on: macos-12
runs-on: macos-11
steps:
- uses: actions/checkout@main
- name: Build
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@ on:
jobs:
create_release:
name: Create Release
runs-on: macos-12
runs-on: macos-11
steps:
- uses: actions/checkout@main
- name: Build
run: swift build -v -c release
- name: Test
run: swift test -v
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@main
with:
name: KSPlayer
path: Sources
2 changes: 1 addition & 1 deletion Package.swift
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// swift-tools-version:5.6
// swift-tools-version:5.5
import PackageDescription

let package = Package(
Expand Down

0 comments on commit 26b403c

Please sign in to comment.