Skip to content

Commit

Permalink
🐞 fix: 切换至release
Browse files Browse the repository at this point in the history
  • Loading branch information
Amazefcc233 committed Dec 19, 2023
1 parent 53d1485 commit 15c2ba3
Showing 1 changed file with 23 additions and 23 deletions.
46 changes: 23 additions & 23 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -163,31 +163,31 @@ jobs:
mv build-output/ios/life.mysit.SITLife.ipa build-output/ios/2-SITLife-release.ipa
# Debug only
- name: Cache ipa
id: cache-ipa
uses: actions/cache@v3
with:
path: |
build-output/ios/
key: build-ipa
enableCrossOsArchive: true
restore-keys: |
build-ipa
- name: Publish iOS Artifact
uses: actions/upload-artifact@v3
with:
name: SITLife-iOS-release
path: build-output/ios/2-SITLife-release.ipa
# - name: Cache ipa
# id: cache-ipa
# uses: actions/cache@v3
# with:
# path: |
# build-output/ios/
# key: build-ipa
# enableCrossOsArchive: true
# restore-keys: |
# build-ipa

# - name: Publish iOS Artifact
# uses: actions/upload-artifact@v3
# with:
# name: SITLife-iOS-release
# path: build-output/ios/2-SITLife-release.ipa

# Release
# - name: Deploy to App Store (Testflight)
# uses: apple-actions/upload-testflight-build@v1
# with:
# app-path: ${{ github.workspace }}/build-output/ios/2-SITLife-release.ipa
# issuer-id: ${{ secrets.APP_STORE_CONNECT_ISSUER_ID }}
# api-key-id: ${{ secrets.APP_STORE_CONNECT_API_KEY_ID }}
# api-private-key: ${{ secrets.APP_STORE_CONNECT_API_PRIVATE_KEY }}
- name: Deploy to App Store (Testflight)
uses: apple-actions/upload-testflight-build@v1
with:
app-path: ${{ github.workspace }}/build-output/ios/2-SITLife-release.ipa
issuer-id: ${{ secrets.APP_STORE_CONNECT_ISSUER_ID }}
api-key-id: ${{ secrets.APP_STORE_CONNECT_API_KEY_ID }}
api-private-key: ${{ secrets.APP_STORE_CONNECT_API_PRIVATE_KEY }}

after_build:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 15c2ba3

Please sign in to comment.