File tree 2 files changed +37
-4
lines changed
2 files changed +37
-4
lines changed Original file line number Diff line number Diff line change @@ -2,20 +2,22 @@ name: Build
2
2
on :
3
3
push :
4
4
pull_request :
5
- delete :
6
- workflow_dispatch :
7
5
8
6
jobs :
9
7
build :
10
8
name : " Build on ${{ matrix.os }}"
11
9
strategy :
12
10
fail-fast : false
13
11
matrix :
14
- os : [ macos-latest, windows-latest, ubuntu-24.04 ]
12
+ os : [ macOS,Windows ]
15
13
runs-on : ${{ matrix.os }}
16
14
steps :
17
15
- name : Checkout
18
16
uses : actions/checkout@v4
17
+ with :
18
+ fetch-depth : 0
19
+ lfs : true
20
+
19
21
- name : Build
20
22
uses : 4d/build4d-action@main
21
23
with :
32
34
with :
33
35
fetch-depth : 0
34
36
lfs : true
35
- - uses : wangchucheng/git-repo-sync@v0.1.0
37
+
38
+ - name : Get Internal Sync action
39
+ uses : actions/checkout@v4
40
+ with :
41
+ repository : 4d/gitlabsync-action
42
+ ref : main
43
+ path : .github/workflows/external/sync
44
+ token : ${{ secrets.CI_GIT_SYNC }}
45
+
46
+ - id : Sync
47
+ uses : ./.github/workflows/external/sync/
36
48
with :
37
49
target-url : ${{ secrets.TARGET_URL }}
38
50
target-username : ${{ secrets.TARGET_USERNAME }}
39
51
target-token : ${{ secrets.TARGET_TOKEN }}
52
+
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
+ - uses : 4d/gitlabsync-action@main
16
+ with :
17
+ target-url : ${{ secrets.TARGET_URL }}
18
+ target-username : ${{ secrets.TARGET_USERNAME }}
19
+ target-token : ${{ secrets.TARGET_TOKEN }}
20
+
You can’t perform that action at this time.
0 commit comments