add ssh setup

This commit is contained in:
Daylin Morgan 2025-02-12 13:04:36 -06:00
parent 75bb54d4c0
commit 4350c26616
Signed by: daylin
GPG key ID: 950D13E9719334AD
2 changed files with 10 additions and 1 deletions

View file

@ -27,7 +27,15 @@ runs:
BTRFS: ${{ inputs.btrfs }}
run: exec ${{ github.action_path }}/prepare.sh
- uses: daylinmorgan/lix-gha-installer-action@latest
# need ssh access for `oizys cache --service harmonica`
- name: Setup SSH
uses: MrSquaare/ssh-setup-action@v3
with:
host: nix-cache.dayl.in
private-key: ${{ secrets.SSH_PRIVATE_KEY }}
- name: Install Lix
uses: daylinmorgan/lix-gha-installer-action@latest
with:
extra-conf: ${{ inputs.nix_conf }}

View file

@ -61,6 +61,7 @@ jobs:
- name: Build
run: >
NIX_SSHOPTS='-l daylin'
nix run .
--
cache