Skip to content

Commit 4a6ce81

Browse files
committed
Do not create XCFramework from SPM
1 parent b71b45c commit 4a6ce81

File tree

1 file changed

+0
-38
lines changed

1 file changed

+0
-38
lines changed

.github/workflows/Publish.yml

Lines changed: 0 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -13,33 +13,6 @@ jobs:
1313
steps:
1414
- uses: actions/checkout@v4
1515

16-
- name: Set Xcode version
17-
run: sudo xcode-select --switch /Applications/Xcode_14.2.app
18-
19-
- name: Generate Xcode project
20-
run: swift package generate-xcodeproj
21-
22-
- name: Set version
23-
run: /usr/libexec/Plistbuddy -c "Set CFBundleVersion ${GITHUB_REF#refs/*/}" BarChartKit.xcodeproj/BarChartKit_Info.plist
24-
25-
- name: Build
26-
run: ./create-xcframework.sh
27-
28-
- name: Create BarChartKit.xcframework.zip
29-
run: zip -r artifacts/BarChartKit.xcframework.zip artifacts/BarChartKit.xcframework
30-
31-
- name: Upload artifact of BarChartKit.xcframework
32-
uses: actions/[email protected]
33-
with:
34-
name: BarChartKit.xcframework
35-
path: ./artifacts/BarChartKit.xcframework
36-
37-
- name: Upload artifact of BarChartKit.xcframework.zip
38-
uses: actions/[email protected]
39-
with:
40-
name: BarChartKit.xcframework.zip
41-
path: ./artifacts/BarChartKit.xcframework.zip
42-
4316
- name: Create Release
4417
id: create_release
4518
uses: actions/create-release@v1
@@ -50,14 +23,3 @@ jobs:
5023
release_name: Release ${{ github.ref }}
5124
draft: false
5225
prerelease: false
53-
54-
- name: Upload Release Asset
55-
id: upload-release-asset
56-
uses: actions/upload-release-asset@v1
57-
env:
58-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
59-
with:
60-
upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps
61-
asset_path: ./artifacts/BarChartKit.xcframework.zip
62-
asset_name: BarChartKit.xcframework.zip
63-
asset_content_type: application/zip

0 commit comments

Comments
 (0)