Skip to content

Commit

Permalink
chore: workflow, codesign
Browse files Browse the repository at this point in the history
  • Loading branch information
clement2026 committed Sep 26, 2024
1 parent 5e317d5 commit be423a9
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ permissions: read-all
env:
XCODE_PROJECT: "approf.xcodeproj"
XCODE_SCHEME: "approf"
CODE_SIGN_IDENTITY: "-"
CODE_SIGN_IDENTITY: "${{ secrets.CODE_SIGN_IDENTITY }}"
BUILD_DIR: "build"
XCODE_ARCHIVE: "approf.xcarchive"
APP_NAME: "approf.app"
Expand All @@ -28,6 +28,11 @@ jobs:
- name: Allow macro
run: |
defaults write com.apple.dt.Xcode IDESkipMacroFingerprintValidation -bool YES
- name: Install certs
uses: apple-actions/import-codesign-certs@v3
with:
p12-file-base64: ${{ secrets.CERTIFICATES_P12 }}
p12-password: ${{ secrets.CERTIFICATES_P12_PASSWORD }}
- name: Build
run: xcodebuild -project "$XCODE_PROJECT" -scheme "$XCODE_SCHEME" archive CODE_SIGN_IDENTITY="$CODE_SIGN_IDENTITY" -archivePath "$BUILD_DIR/$XCODE_ARCHIVE"
- name: Export
Expand Down

0 comments on commit be423a9

Please sign in to comment.