Skip to content

Add section markers in sh script and move code signing into it #39

Add section markers in sh script and move code signing into it

Add section markers in sh script and move code signing into it #39

Workflow file for this run

name: swift-create-sign-upload-xcframework
on:
push:
branches:
- develop
env:
XCFRAMEWORK_OUTPUT_DIR: .xcframework
XCFRAMEWORK_NAME: UIViewKit
XCFRAMEWORK_NAME_WITH_EXTENSION: UIViewKit.xcframework
jobs:
create-xcframework:
runs-on: macos-latest
steps:
- name: Import Code-Signing Certificates
uses: Apple-Actions/import-codesign-certs@v1
with:
p12-file-base64: ${{ secrets.CERTIFICATE_P12 }}
p12-password: ${{ secrets.CERTIFICATE_P12_PASSWORD }}
- name: Checkout Project
uses: actions/[email protected]
- name: Build XCFramework
run: ./buildxcf.sh
- name: Upload XCFramework as Artifact
uses: actions/upload-artifact@v4
with:
name: ${{ env.XCFRAMEWORK_NAME_WITH_EXTENSION }}
path: ${{ env.XCFRAMEWORK_OUTPUT_DIR }}/${{ env.XCFRAMEWORK_NAME_WITH_EXTENSION }}