Skip to content

Commit 7c1ba6a

Browse files
Add synch job to the build.yml file
1 parent 1d92b20 commit 7c1ba6a

File tree

1 file changed

+16
-5
lines changed

1 file changed

+16
-5
lines changed

.github/workflows/build.yml

Lines changed: 16 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
@@ -27,3 +24,17 @@ jobs:
2724
version: vcs
2825
build: official
2926
token: ${{ secrets.DLTK }}
27+
sync:
28+
needs: ["build"]
29+
runs-on: [self-hosted, macOS, ARM64]
30+
name: Git Repo Sync
31+
steps:
32+
- uses: actions/checkout@v4
33+
with:
34+
fetch-depth: 0
35+
lfs: true
36+
- uses: wangchucheng/[email protected]
37+
with:
38+
target-url: ${{ secrets.TARGET_URL }}
39+
target-username: ${{ secrets.TARGET_USERNAME }}
40+
target-token: ${{ secrets.TARGET_TOKEN }}

0 commit comments

Comments
 (0)