Skip to content

Commit

Permalink
ci: Publish to iOS app store
Browse files Browse the repository at this point in the history
  • Loading branch information
Gustl22 committed Apr 18, 2024
1 parent be4f627 commit c9f2d4f
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-client.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ jobs:
${{ inputs.enable_linux && '{"platform": "linux", "os": "ubuntu-latest", "build-type": "linux"},' || '' }}
${{ inputs.enable_macos && '{"platform": "macos", "os": "macos-14", "build-type": "macos"},' || '' }}
'
# Remove last ',' with ::-1
# Remove last ',' with ::-1 ❤️
echo "jobs=[${content::-1}]" | tr -d '[:space:]' >> $GITHUB_OUTPUT
build-client:
Expand Down
12 changes: 12 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,9 @@ jobs:
- os: ubuntu-latest
platform: web
publish-distributor: web-server
- os: macos-14
platform: ios
publish-distributor: ios-app-store

steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -172,6 +175,15 @@ jobs:
android-keystore-password: ${{ secrets.ANDROID_KEYSTORE_PASSWORD }}
android-key-alias: ${{ secrets.ANDROID_KEY_ALIAS }}
android-key-password: ${{ secrets.ANDROID_KEY_PASSWORD }}
# iOS
ios-apple-username: ${{ secrets.IOS_APPLE_USERNAME }}
ios-api-key-id: ${{ secrets.IOS_API_KEY_ID }}
ios-api-issuer-id: ${{ secrets.IOS_API_ISSUER_ID }}
ios-api-private-key-base64: ${{ secrets.IOS_API_PRIVATE_KEY }}
ios-content-provider-id: ${{ secrets.IOS_CONTENT_PROVIDER_ID }}
ios-team-id: ${{ secrets.IOS_TEAM_ID }}
ios-distribution-private-key-base64: ${{ secrets.IOS_DISTRIBUTION_PRIVATE_KEY }}
ios-distribution-cert-base64: ${{ secrets.IOS_DISTRIBUTION_CERT }}
# Web
publish-web-host: ${{ secrets.WEB_HOST }}
publish-web-path: ${{ secrets.WEB_PATH }}
Expand Down
3 changes: 2 additions & 1 deletion wrestling_scoreboard_client/ios/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,5 @@ Runner/GeneratedPluginRegistrant.*
*.mobileprovision
*.cer
*.certSigningRequest
*.p12
*.p12
*.p8

0 comments on commit c9f2d4f

Please sign in to comment.