Skip to content

Commit f4abb97

Browse files
committed
Extend CI For private tests
1 parent 58125f8 commit f4abb97

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

.github/workflows/test-private.yml

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -53,14 +53,13 @@ jobs:
5353
steps:
5454
- uses: actions/checkout@722adc63f1aa60a57ec37892e133b1d319cae598 # https://github.com/actions/checkout/releases/tag/v2.0.0
5555

56-
- name: Setup SSH agent
57-
env:
58-
DEPLOY_TOKEN: ${{ secrets.DEPLOY_TOKEN }}
59-
run: |
60-
eval $(ssh-agent -s)
61-
ssh-add .github/workflows/secrets/id_rsa <<< ${{secrets.DEPLOY_TOKEN}}
62-
git clone git@github.com:handsontable/hyperformula-tests.git
63-
56+
- name: Clone private submodule
57+
uses: pietrobolcato/action-clone-private-submodule@537ff87af8e3e989dd02f491708ab6d1912c915c
58+
with:
59+
ssh_private_key: ${{ secrets.DEPLOY_TOKEN }}
60+
module_link: handsontable/hyperformula-tests
61+
module_path: test/hyperformula-tests
62+
6463
- name: Fetch hyperformula-tests
6564
# env:
6665
# DEPLOY_TOKEN: ${{ secrets.DEPLOY_TOKEN }}

0 commit comments

Comments
 (0)