Skip to content

Commit 0fe1192

Browse files
Add synch job to the build.yml file
1 parent 9d0204a commit 0fe1192

File tree

1 file changed

+17
-5
lines changed

1 file changed

+17
-5
lines changed

.github/workflows/build.yml

Lines changed: 17 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,8 @@
11
name: Build
22
on:
33
push:
4-
paths:
5-
- '**.4dm'
64
pull_request:
7-
paths:
8-
- '**.4dm'
5+
delete:
96
workflow_dispatch:
107

118
jobs:
@@ -14,7 +11,7 @@ jobs:
1411
strategy:
1512
fail-fast: false
1613
matrix:
17-
os: [ macos-latest, windows-latest, ubuntu-latest ]
14+
os: [ macos-latest, windows-latest, ubuntu-24.04 ]
1815
runs-on: ${{ matrix.os }}
1916
steps:
2017
- name: Checkout
@@ -31,3 +28,18 @@ jobs:
3128
version: vcs
3229
build: official
3330
token: ${{ secrets.DLTK }}
31+
sync:
32+
needs: ["build"]
33+
runs-on: [self-hosted, macOS, ARM64]
34+
name: Git Repo Sync
35+
steps:
36+
- uses: actions/checkout@v4
37+
with:
38+
fetch-depth: 0
39+
lfs: true
40+
- uses: wangchucheng/[email protected]
41+
with:
42+
target-url: ${{ secrets.TARGET_URL }}
43+
target-username: ${{ secrets.TARGET_USERNAME }}
44+
target-token: ${{ secrets.TARGET_TOKEN }}
45+

0 commit comments

Comments
 (0)