File tree Expand file tree Collapse file tree 2 files changed +44
-5
lines changed
Expand file tree Collapse file tree 2 files changed +44
-5
lines changed Original file line number Diff line number Diff line change @@ -2,16 +2,14 @@ name: Build
22on :
33 push :
44 pull_request :
5- delete :
6- workflow_dispatch :
75
86jobs :
97 build :
108 name : " Build on ${{ matrix.os }}"
119 strategy :
1210 fail-fast : false
1311 matrix :
14- os : [ macos-latest, windows-latest , ubuntu-24.04 ]
12+ os : [ macOS, Windows , ubuntu-24.04 ]
1513 runs-on : ${{ matrix.os }}
1614 steps :
1715 - name : Checkout
2826 version : vcs
2927 build : official
3028 token : ${{ secrets.DLTK }}
29+
3130 sync :
3231 needs : ["build"]
3332 runs-on : [self-hosted, macOS, ARM64]
3635 - uses : actions/checkout@v4
3736 with :
3837 fetch-depth : 0
39- lfs : true
40- -
uses :
wangchucheng/[email protected] 38+ lfs : true
39+
40+ - name : Get Internal Sync action
41+ uses : actions/checkout@v4
42+ with :
43+ repository : 4d/gitlabsync-action
44+ ref : main
45+ path : .github/workflows/external/sync
46+ token : ${{ secrets.CI_GIT_SYNC }}
47+
48+ - id : Sync
49+ uses : ./.github/workflows/external/sync/
4150 with :
4251 target-url : ${{ secrets.TARGET_URL }}
4352 target-username : ${{ secrets.TARGET_USERNAME }}
Original file line number Diff line number Diff line change 1+ name : Delete
2+
3+ on :
4+ delete :
5+
6+
7+ jobs :
8+ sync :
9+ runs-on : [self-hosted, macOS, ARM64]
10+ name : Git Repo Sync
11+ steps :
12+ - uses : actions/checkout@v4
13+ with :
14+ fetch-depth : 0
15+ lfs : true
16+
17+ - name : Get Internal Sync action
18+ uses : actions/checkout@v4
19+ with :
20+ repository : 4d/gitlabsync-action
21+ ref : main
22+ path : .github/workflows/external/sync
23+ token : ${{ secrets.CI_GIT_SYNC }}
24+
25+ - id : Sync
26+ uses : ./.github/workflows/external/sync/
27+ with :
28+ target-url : ${{ secrets.TARGET_URL }}
29+ target-username : ${{ secrets.TARGET_USERNAME }}
30+ target-token : ${{ secrets.TARGET_TOKEN }}
You can’t perform that action at this time.
0 commit comments