Skip to content

Commit

Permalink
Add required args for altool upload
Browse files Browse the repository at this point in the history
  • Loading branch information
luxaritas committed Sep 6, 2024
1 parent 74a5cfe commit 1e34397
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/upload-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,13 @@ jobs:
env:
APP_STORE_CONNECT_API_KEY_BASE64: ${{ secrets.APP_STORE_CONNECT_API_KEY_BASE64 }}
run: echo $APP_STORE_CONNECT_API_KEY_BASE64 | base64 --decode > "$RUNNER_TEMP/AuthKey_${{ secrets.APP_STORE_CONNECT_API_KEY_ID }}.p8"
- name: Extract ipa
run: unzip -q Eterna.ipa
- name: Upload to App Store
run: API_PRIVATE_KEYS_DIR=$RUNNER_TEMP xcrun altool --upload-package Eterna.ipa --type ios --apiIssuer ${{ secrets.APP_STORE_CONNECT_API_KEY_ISSUER_ID }} --apiKey ${{ secrets.APP_STORE_CONNECT_API_KEY_ID }}
run: |
API_PRIVATE_KEYS_DIR=$RUNNER_TEMP xcrun altool --upload-package Eterna.ipa --type ios \
--apiIssuer ${{ secrets.APP_STORE_CONNECT_API_KEY_ISSUER_ID }} --apiKey ${{ secrets.APP_STORE_CONNECT_API_KEY_ID }} \
--apple-id 1513216417 --bundle-id eternagame --bundle-version $(/usr/libexec/PlistBuddy -c "Print :CFBundleVersion" Payload/Eterna.app/Info.plist) --bundle-short-version-string $(/usr/libexec/PlistBuddy -c "Print :CFBundleShortVersionString" Payload/Eterna.app/Info.plist)
upload-android:
runs-on: ubuntu-latest
Expand All @@ -51,6 +56,5 @@ jobs:
- name: Install dependencies for upload script
run: npm ci
working-directory: ./.github/workflows/google-play
- run: ls .github/workflows/google-play
- name: Upload to Google Play
run: node ./.github/workflows/google-play/src/index.js upload ${{ secrets.GOOGLE_PLAY_DEVELOPER_API_KEY }} ./app-release.aab

0 comments on commit 1e34397

Please sign in to comment.