Skip to content

Commit 2fd08f1

Browse files
committed
Update workflow settings
1 parent f83ea34 commit 2fd08f1

1 file changed

Lines changed: 17 additions & 1 deletion

File tree

.github/workflows/build.yml

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,26 @@ jobs:
2828
strategy:
2929
matrix:
3030
configuration: [Release, Debug]
31+
32+
if: github.event.pull_request.head.repo.full_name == github.repository
3133

3234
steps:
33-
- name: Checkout
35+
- name: Setup SSH
36+
run: |
37+
mkdir -p ~/.ssh
38+
echo "${{ secrets.SSH_PRIVATE_KEY }}" > ~/.ssh/id_ed25519
39+
chmod 600 ~/.ssh/id_ed25519
40+
ssh-keyscan github.com >> ~/.ssh/known_hosts
41+
42+
- name: Checkout with submodules
3443
uses: actions/checkout@v5
44+
with:
45+
submodules: recursive
46+
47+
- name: Check submodule
48+
run: |
49+
ls -la
50+
ls -la core
3551
3652
- name: Cache Xcode DerivedData
3753
uses: actions/cache@v5

0 commit comments

Comments
 (0)