Skip to content

Commit 9049cca

Browse files
ci: add ssh
1 parent 58203eb commit 9049cca

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

Diff for: .github/workflows/release.yml

+8
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,14 @@ jobs:
5757
homebrew:
5858
runs-on: ubuntu-latest
5959
steps:
60+
- name: Set up SSH
61+
run: |
62+
mkdir -p ~/.ssh
63+
echo "${{ secrets.SSH_PRIVATE_KEY }}" > ~/.ssh/id_ed25519
64+
chmod 600 ~/.ssh/id_ed25519
65+
ssh-keyscan github.com >> ~/.ssh/known_hosts
66+
env:
67+
SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }}
6068
- name: clone tap
6169
run: |
6270
# Clone the repository

0 commit comments

Comments
 (0)