Repository navigation
Build XCFramework #7
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Build XCFramework | |
| on: | |
| workflow_dispatch: | |
| inputs: | |
| signing-certificate-base64: | |
| description: 'Base64-encoded .p12 signing certificate (empty to use repo secret)' | |
| required: false | |
| default: '' | |
| signing-certificate-password: | |
| description: 'Password for the .p12 signing certificate (empty to use repo secret)' | |
| required: false | |
| default: '' | |
| jobs: | |
| build_xcframework: | |
| name: Build XCFrameworks | |
| runs-on: macos-15 | |
| env: | |
| OPENSWIFTUI_OPENATTRIBUTESHIMS_ATTRIBUTEGRAPH: 1 | |
| OPENSWIFTUI_USE_LOCAL_DEPS: 1 | |
| GH_TOKEN: ${{ github.token }} | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Build XCFrameworks | |
| uses: ./.github/actions/build-xcframework | |
| with: | |
| signing-certificate-base64: ${{ inputs.signing-certificate-base64 || secrets.SIGNING_CERTIFICATE_BASE_64 }} | |
| signing-certificate-password: ${{ inputs.signing-certificate-password || secrets.SIGNING_CERTIFICATE_PASSWORD }} | |
| - name: Zip XCFrameworks | |
| run: cd build && zip -ry xcframeworks.zip *.xcframework | |
| - name: Upload XCFrameworks | |
| uses: actions/upload-artifact@v7 | |
| with: | |
| path: build/xcframeworks.zip | |
| archive: false |