update ssh-setup-action

This commit is contained in:
Daylin Morgan 2024-11-04 12:27:17 -06:00
parent 5fd09508f4
commit 36458fe994
Signed by: daylin
GPG key ID: 950D13E9719334AD
2 changed files with 18 additions and 6 deletions

View file

@ -30,6 +30,13 @@ jobs:
- name: Checkout - name: Checkout
uses: actions/checkout@v4 uses: actions/checkout@v4
# needed to access ghostty repo for now
- name: Setup SSH
uses: MrSquaare/ssh-setup-action@v3
with:
host: github.com
private-key: ${{ secrets.SSH_PRIVATE_KEY }}
- uses: ./.github/actions/clean-disk - uses: ./.github/actions/clean-disk
with: with:
purge-packages: 'true' purge-packages: 'true'
@ -43,11 +50,16 @@ jobs:
- uses: DeterminateSystems/magic-nix-cache-action@v8 - uses: DeterminateSystems/magic-nix-cache-action@v8
- uses: cachix/cachix-action@v15 # - name: Install and login to attic cache
with: # run: |
name: daylin # nix profile install "nixpkgs#attic-client"
authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}" # attic login oizys https://attic.dayl.in "${{ secrets.ATTIC_TOKEN }}"
# - uses: cachix/cachix-action@v15
# with:
# name: daylin
# authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}"
- name: write lock file - name: write lock file
if: "${{ inputs.lockFile != '' }}" if: "${{ inputs.lockFile != '' }}"
run: | run: |

View file

@ -20,8 +20,9 @@ jobs:
- name: Checkout - name: Checkout
uses: actions/checkout@v4 uses: actions/checkout@v4
# needed to access ghostty repo for now
- name: Setup SSH - name: Setup SSH
uses: MrSquaare/ssh-setup-action@v1 uses: MrSquaare/ssh-setup-action@v3
with: with:
host: github.com host: github.com
private-key: ${{ secrets.SSH_PRIVATE_KEY }} private-key: ${{ secrets.SSH_PRIVATE_KEY }}
@ -38,7 +39,6 @@ jobs:
experimental-features = pipe-operator experimental-features = pipe-operator
accept-flake-config = true accept-flake-config = true
- name: Install and login to attic cache - name: Install and login to attic cache
run: | run: |
nix profile install "nixpkgs#attic-client" nix profile install "nixpkgs#attic-client"