File tree Expand file tree Collapse file tree 2 files changed +56
-7
lines changed
Expand file tree Collapse file tree 2 files changed +56
-7
lines changed Original file line number Diff line number Diff line change @@ -2,25 +2,34 @@ name: Build
22on :
33 push :
44 pull_request :
5- delete :
6- workflow_dispatch :
5+
6+ env :
7+ DEPENDENCIES_BRANCH : 20R7
78
89jobs :
910 build :
1011 name : " Build on ${{ matrix.os }}"
1112 strategy :
1213 fail-fast : false
1314 matrix :
14- os : [ macos-latest, windows-latest, ubuntu-24.04 ]
15+ os : [ macOS,Windows, ubuntu-24.04 ]
1516 runs-on : ${{ matrix.os }}
1617 steps :
1718 - name : Checkout
1819 uses : actions/checkout@v4
20+ with :
21+ fetch-depth : 0
22+ lfs : true
23+
1924 - name : Check out 4D-SVG
2025 uses : actions/checkout@v4
2126 with :
2227 repository : 4d/4D-SVG
23- path : Components/SVG.4dbase
28+ path : Components/4D-SVG.4dbase
29+ ref : ${{ env.DEPENDENCIES_BRANCH }}
30+ fetch-depth : 0
31+ lfs : true
32+
2433 - name : Build
2534 uses : 4d/build4d-action@main
2635 with :
3746 with :
3847 fetch-depth : 0
3948 lfs : true
40- -
uses :
wangchucheng/[email protected] 49+
50+ - name : Get Internal Sync action
51+ uses : actions/checkout@v4
52+ with :
53+ repository : 4d/gitlabsync-action
54+ ref : main
55+ path : .github/workflows/external/sync
56+ token : ${{ secrets.CI_GIT_SYNC }}
57+
58+ - id : Sync
59+ name : Sync
60+ uses : ./.github/workflows/external/sync/
4161 with :
4262 target-url : ${{ secrets.TARGET_URL }}
4363 target-username : ${{ secrets.TARGET_USERNAME }}
44- target-token : ${{ secrets.TARGET_TOKEN }}
45-
64+ target-token : ${{ secrets.TARGET_TOKEN }}
Original file line number Diff line number Diff line change 1+ name : Delete
2+
3+ on :
4+ delete
5+
6+ jobs :
7+ sync :
8+ runs-on : [self-hosted, macOS, ARM64]
9+ name : Git Repo Sync
10+ steps :
11+ - uses : actions/checkout@v4
12+ with :
13+ fetch-depth : 0
14+ lfs : true
15+
16+ - name : Get Internal Sync action
17+ uses : actions/checkout@v4
18+ with :
19+ repository : 4d/gitlabsync-action
20+ ref : main
21+ path : .github/workflows/external/sync
22+ token : ${{ secrets.CI_GIT_SYNC }}
23+
24+ - id : Sync
25+ uses : ./.github/workflows/external/sync/
26+ with :
27+ target-url : ${{ secrets.TARGET_URL }}
28+ target-username : ${{ secrets.TARGET_USERNAME }}
29+ target-token : ${{ secrets.TARGET_TOKEN }}
30+
You can’t perform that action at this time.
0 commit comments