File tree Expand file tree Collapse file tree 3 files changed +82
-20
lines changed
Expand file tree Collapse file tree 3 files changed +82
-20
lines changed Original file line number Diff line number Diff line change 1+ name : Build
2+ on :
3+ push :
4+ pull_request :
5+
6+ jobs :
7+ build :
8+ name : " Build on ${{ matrix.os }}"
9+ strategy :
10+ fail-fast : false
11+ matrix :
12+ os : [ macOS,Windows]
13+ runs-on : ${{ matrix.os }}
14+ steps :
15+ - name : Checkout
16+ uses : actions/checkout@v4
17+ with :
18+ fetch-depth : 0
19+ lfs : true
20+
21+ - name : Build
22+ uses : 4d/build4d-action@main
23+ with :
24+ product-line : vcs
25+ version : vcs
26+ build : official
27+ token : ${{ secrets.DLTK }}
28+ sync :
29+ needs : ["build"]
30+ runs-on : [self-hosted, macOS, ARM64]
31+ name : Git Repo Sync
32+ steps :
33+ - uses : actions/checkout@v4
34+ with :
35+ fetch-depth : 0
36+ lfs : true
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/
48+ with :
49+ target-url : ${{ secrets.TARGET_URL }}
50+ target-username : ${{ secrets.TARGET_USERNAME }}
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+
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+
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments