diff --git a/.github/workflows/create-release.yml b/.github/workflows/create-release.yml index b98015cc..d812429f 100644 --- a/.github/workflows/create-release.yml +++ b/.github/workflows/create-release.yml @@ -1,6 +1,6 @@ name: Create Release -# Create XCFramework when a version is tagged +# Create xcframework when a version is tagged on: create: tags: @@ -8,20 +8,14 @@ on: jobs: create_release: name: Create Release - runs-on: macos-latest + runs-on: macos-14 steps: - uses: maxim-lobanov/setup-xcode@v1 with: xcode-version: latest-stable - - uses: actions/checkout@v2 - - name: Setup Swift 5.9 - uses: swift-actions/setup-swift@v2 - with: - swift-version: '5.9' - - - run: bash ${GITHUB_WORKSPACE}/build_xcframework.sh + - run: ${GITHUB_WORKSPACE}/build_xcframework.sh - name: Create Release id: create_release diff --git a/.gitignore b/.gitignore index 9abbda58..b73e0b5d 100644 --- a/.gitignore +++ b/.gitignore @@ -10,3 +10,4 @@ Benchmark/.swiftpm Resources/deprecated/MotionLogo-Dark.mov Resources/deprecated/MotionLogo-Light.mov build +Motion.zip diff --git a/build_xcframework.sh b/build_xcframework.sh index 9928f0bd..94533d62 100755 --- a/build_xcframework.sh +++ b/build_xcframework.sh @@ -11,7 +11,7 @@ git clone https://github.com/giginet/Scipio.git build/scipio pushd build/scipio -swift run -c release scipio create ../../ --enable-library-evolution --support-simulators --only-use-versions-from-resolved-file --output ../output +swift run -c release scipio create ../../ --enable-library-evolution --support-simulators --only-use-versions-from-resolved-file --output ../output --verbose zip -r ../../Motion.zip ../output/Motion.xcframework