Skip to content

Commit 94a477c

Browse files
authored
Merge pull request #65 from AgoraIO/debug-workflow
Update deploy_docs.yml to include framework setup steps
2 parents 715d0d7 + 5062b48 commit 94a477c

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

.github/workflows/deploy_docs.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,13 @@ jobs:
5353
- name: Setup Xcode Project 🛠️
5454
run: |
5555
sh -e xcframework-to-docc/dl_framework.sh ${{ env.PACKAGE_NAME }}
56-
sh -e xcframework-to-docc/move_header_files.sh ${{ env.PACKAGE_NAME }}.xcframework ${{ env.PACKAGE_NAME }}.docc
56+
echo "✅ Framework downloaded"
57+
58+
sh -e xcframework-to-docc/move_header_files.sh ${{ env.PACKAGE_NAME }}.xcframework ${{ env.PACKAGE_NAME }}.docc ios-arm64
59+
echo "✅ Header files moved"
60+
5761
sh -e xcframework-to-docc/headers_to_xcodeproj.sh ${{ env.PACKAGE_NAME }} docc_builder
62+
echo "✅ Headers added to Xcode project"
5863
- name: Clone Python Script 👭
5964
uses: actions/checkout@v3
6065
with:
@@ -106,7 +111,7 @@ jobs:
106111
language: ['en']
107112
steps:
108113
- name: Download DocC Archive ⬇️
109-
uses: actions/download-artifact@v3
114+
uses: actions/download-artifact@v4
110115
with:
111116
name: ${{ env.PACKAGE_NAME }}-${{ matrix.language }}.doccarchive.zip
112117
- name: Unzip Archive 😮

.github/workflows/workflow_deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ env:
2525
jobs:
2626
generate-docc:
2727
name: Build DocC Archives
28-
runs-on: macos-13
28+
runs-on: macOS-latest
2929
steps:
3030
- name: Checkout 🛎️
3131
uses: actions/checkout@v3

0 commit comments

Comments
 (0)