33 push :
44 pull_request :
55
6+ env :
7+ DEPENDENCIES_BRANCH : main
8+
69jobs :
710 build :
811 name : " Build on ${{ matrix.os }}"
912 strategy :
1013 fail-fast : false
1114 matrix :
12- os : [ macOS, Windows, ubuntu-24.04 ]
15+ os : [ macOS,Windows,ubuntu-24.04 ]
1316 runs-on : ${{ matrix.os }}
1417 steps :
1518 - name : Checkout
1619 uses : actions/checkout@v4
20+ with :
21+ fetch-depth : 0
22+ lfs : true
23+
1724 - name : Check out 4D-SVG
1825 uses : actions/checkout@v4
1926 with :
2027 repository : 4d/4D-SVG
21- path : Components/SVG.4dbase
28+ path : Components/4D-SVG.4dbase
29+ ref : ${{ env.DEPENDENCIES_BRANCH }}
30+ fetch-depth : 0
31+ lfs : true
32+
2233 - name : Build
2334 uses : 4d/build4d-action@main
2435 with :
2536 product-line : vcs
2637 version : vcs
2738 build : official
2839 token : ${{ secrets.DLTK }}
29-
3040 sync :
3141 needs : ["build"]
3242 runs-on : [self-hosted, macOS, ARM64]
3545 - uses : actions/checkout@v4
3646 with :
3747 fetch-depth : 0
38- lfs : true
48+ lfs : true
3949
4050 - name : Get Internal Sync action
4151 uses : actions/checkout@v4
@@ -44,10 +54,11 @@ jobs:
4454 ref : main
4555 path : .github/workflows/external/sync
4656 token : ${{ secrets.CI_GIT_SYNC }}
47-
57+
4858 - id : Sync
59+ name : Sync
4960 uses : ./.github/workflows/external/sync/
5061 with :
5162 target-url : ${{ secrets.TARGET_URL }}
5263 target-username : ${{ secrets.TARGET_USERNAME }}
53- target-token : ${{ secrets.TARGET_TOKEN }}
64+ target-token : ${{ secrets.TARGET_TOKEN }}
0 commit comments