Skip to content

Commit

Permalink
Test: yml 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
puretension committed May 25, 2024
1 parent 7468a0e commit d43a997
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,12 @@ jobs:
run: |
echo "${{ secrets.GOOGLE_SERVICE_INFO_BASE64 }}" | base64 --decode > ios/GoogleService-Info.plist
- name: Update bundle version
run: |
VERSION_NUMBER=$(date +%Y%m%d%H%M)
/usr/libexec/PlistBuddy -c "Set :CFBundleVersion $VERSION_NUMBER" "ios/PoppinProject/Info.plist"
/usr/libexec/PlistBuddy -c "Set :CFBundleShortVersionString $VERSION_NUMBER" "ios/PoppinProject/Info.plist"
- name: Decode iOS secrets
env:
P12_DISTRIBUTION_CERTIFICATE_BASE64: ${{ secrets.IOS_P12_DISTRIBUTION_CERTIFICATE_BASE64 }}
Expand Down Expand Up @@ -127,6 +133,7 @@ jobs:
echo "$PRIVATE_API_KEY" > ~/private_keys/AuthKey_$API_KEY.p8
IPA_FILE=$(find ios/build/PoppinProject -name "*.ipa")
xcrun altool --upload-app --type ios -f "$IPA_FILE" --apiKey "$API_KEY" --apiIssuer "$API_ISSUER" --apiKeyPath ~/private_keys/AuthKey_$API_KEY.p8
- name: Upload Build Logs
if: failure()
uses: actions/upload-artifact@v2
Expand Down

0 comments on commit d43a997

Please sign in to comment.