We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 92cb732 commit 41c0cadCopy full SHA for 41c0cad
2 files changed
.github/actions/setup-nix/action.yaml
@@ -41,8 +41,6 @@ runs:
41
- name: Configure SSH Keys
42
shell: bash
43
run: |
44
- mkdir -p ~/.ssh
45
- echo "${{ inputs.nixbuild_key }}" > ~/.ssh/id_ed25519
46
- chmod 600 ~/.ssh/id_ed25519
47
- echo -e "Host *\n\tStrictHostKeyChecking no" | sudo tee -a ~/.ssh/config > /dev/null
+ echo "${{ inputs.nixbuild_key }}" | install -D -m 600 /dev/stdin ~/.ssh/nixbuild_key
+ install -m 644 "${{ github.workspace }}/.github/assets/ssh-config" ~/.ssh/config
48
.github/assets/ssh-config
@@ -0,0 +1,4 @@
1
+Host eu.nixbuild.net
2
+ IdentityFile ~/.ssh/nixbuild_key
3
+Host *
4
+ StrictHostKeyChecking no
0 commit comments