Skip to content

Commit

Permalink
run on pushes for this branch
Browse files Browse the repository at this point in the history
  • Loading branch information
maxxfrazer committed Aug 1, 2023
1 parent e95f73f commit 0dda7c8
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/docc-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@ on:
pull_request:
branches: [main]
push:
branches: [main]
branches:
- main
- test-2.x

# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
Expand All @@ -32,7 +34,7 @@ jobs:
runs-on: macos-13
strategy:
matrix:
language: ['en', 'cn']
language: ['en']
steps:
- name: Checkout 🛎️
uses: actions/checkout@v3
Expand All @@ -46,7 +48,7 @@ jobs:
- name: Setup Xcode Project 🛠️
run: |
sh -e xcframework-to-docc/dl_framework.sh ${{ env.PACKAGE_NAME }}
sh -e xcframework-to-docc/move_header_files.sh ${{ env.PACKAGE_NAME }}.xcframework ${{ env.PACKAGE_NAME }}.docc
sh -e xcframework-to-docc/move_header_files.sh ${{ env.PACKAGE_NAME }}.xcframework # ${{ env.PACKAGE_NAME }}.docc
sh -e xcframework-to-docc/headers_to_xcodeproj.sh ${{ env.PACKAGE_NAME }} docc_builder
- name: Generate DocC Archive (${{ matrix.language }}) 🪄
run: xcodebuild -project docc_builder/${{ env.PACKAGE_NAME }}.xcodeproj docbuild -scheme ${{ env.PACKAGE_NAME }} -derivedDataPath /tmp/docbuild -destination ${{ env.BUILD_DEST }}
Expand Down

0 comments on commit 0dda7c8

Please sign in to comment.