Skip to content

Commit d0439dd

Browse files
committed
Use Arm64 Image for GitHub Actions
1 parent d7a781a commit d0439dd

3 files changed

Lines changed: 5 additions & 10 deletions

File tree

.github/workflows/create-release.yml

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,21 @@
11
name: Create Release
22

3-
# Create XCFramework when a version is tagged
3+
# Create xcframework when a version is tagged
44
on:
55
create:
66
tags:
77

88
jobs:
99
create_release:
1010
name: Create Release
11-
runs-on: macos-latest
11+
runs-on: macos-14
1212
steps:
1313
- uses: maxim-lobanov/setup-xcode@v1
1414
with:
1515
xcode-version: latest-stable
16-
1716
- uses: actions/checkout@v2
1817

19-
- name: Setup Swift 5.9
20-
uses: swift-actions/setup-swift@v2
21-
with:
22-
swift-version: '5.9'
23-
24-
- run: bash ${GITHUB_WORKSPACE}/build_xcframework.sh
18+
- run: ${GITHUB_WORKSPACE}/build_xcframework.sh
2519

2620
- name: Create Release
2721
id: create_release

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,4 @@ Benchmark/.swiftpm
1010
Resources/deprecated/MotionLogo-Dark.mov
1111
Resources/deprecated/MotionLogo-Light.mov
1212
build
13+
Motion.zip

build_xcframework.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ git clone https://github.com/giginet/Scipio.git build/scipio
1111

1212
pushd build/scipio
1313

14-
swift run -c release scipio create ../../ --enable-library-evolution --support-simulators --only-use-versions-from-resolved-file --output ../output
14+
swift run -c release scipio create ../../ --enable-library-evolution --support-simulators --only-use-versions-from-resolved-file --output ../output --verbose
1515

1616
zip -r ../../Motion.zip ../output/Motion.xcframework
1717

0 commit comments

Comments
 (0)