From d12b1f6d00e3eec04af40abb36ba29f806cdd05c Mon Sep 17 00:00:00 2001 From: Andrii Kuteiko Date: Tue, 10 Sep 2024 15:31:05 +0200 Subject: [PATCH] Create SSH key to be able to fetch dependencies --- .github/workflows/build.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f72139c..6b7eb1b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -28,7 +28,11 @@ jobs: steps: - name: Setup SSH - run: ssh-keyscan -t rsa github.com >> ~/.ssh/known_hosts + run: | + set -ex + mkdir -p -m 700 ~/.ssh + ssh-keygen -N '' -f ~/.ssh/id_rsa + ssh-keyscan -t rsa github.com >> ~/.ssh/known_hosts - uses: actions/checkout@v3