Skip to content

Commit

Permalink
Update smeem-release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
cchanmi authored Nov 21, 2024
1 parent 878dddd commit 5a428a3
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/smeem-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
XC_WORKSPACE: ${{ 'Smeem-iOS/Smeem-iOS.xcodeproj' }}
XC_SCHEME: ${{ 'Smeem-Release' }}
XC_ARCHIVE_PATH: ${{ './Smeem-iOS.xcarchive' }}
XC_EXPORT_PATH: ${{ './artifacts' }}
XC_EXPORT_PATH: ${{ './artifacts/' }}

# certificate
ENCRYPTED_CERT_FILE_PATH: ${{ '.github/secrets/smeem_distribution.p12.gpg' }}
Expand Down Expand Up @@ -68,7 +68,9 @@ jobs:
cp "./$PROVISION" "$HOME/Library/MobileDevice/Provisioning Profiles/$UUID.mobileprovision"
done
- name: Archive app
run: xcodebuild archive -project Smeem-iOS/Smeem-iOS.xcodeproj -scheme Smeem-Release -destination 'platform=iOS Simulator,name=iPhone 14 Pro,OS=17.2'
run: |
mkdir artifacts
xcodebuild archive -project Smeem-iOS/Smeem-iOS.xcodeproj -scheme Smeem-Release -destination 'platform=iOS Simulator,name=iPhone 14 Pro,OS=17.2'
- name: Export app
run: xcodebuild -exportArchive -archivePath "$XC_ARCHIVE_PATH" -exportOptionsPlist .github/ExportOptions.plist -exportPath "$XC_EXPORT_PATH"
- name: Upload app to TestFlight
Expand All @@ -78,3 +80,8 @@ jobs:
issuer-id: ${{ secrets.APPSTORE_ISSUER_ID }}
api-key-id: ${{ secrets.APPSTORE_API_KEY_ID }}
api-private-key: ${{ secrets.APPSTORE_API_PRIVATE_KEY }}
- name: Upload Artifact
uses: actions/upload-artifact@v2
with:
name: Artifacts
path: ./artifacts

0 comments on commit 5a428a3

Please sign in to comment.