diff --git a/.github/workflows/zig-test.yml b/.github/workflows/zig-test.yml index c217a65..5da9b46 100644 --- a/.github/workflows/zig-test.yml +++ b/.github/workflows/zig-test.yml @@ -38,11 +38,10 @@ jobs: run: | git config --global url.git@github.com:.insteadof https://github.com/ git config --global --add safe.directory `pwd` - - name: configure ssh key + - name: configure ssh agent run: | - mkdir ~/.ssh - echo "${{secrets.SSH_DEPLOY_KEY}}" > ~/.ssh/id_ed25519 - chmod -R 700 ~/.ssh + eval `ssh-agent -s` + ssh-add - <<< '${{ secrets.SSH_DEPLOY_KEY }}' - name: install git submodules run: |