From 36458fe9946c21cba176df26da3c520f37ed15c9 Mon Sep 17 00:00:00 2001 From: Daylin Morgan Date: Mon, 4 Nov 2024 12:27:17 -0600 Subject: [PATCH] update ssh-setup-action --- .github/workflows/build.yml | 20 ++++++++++++++++---- .github/workflows/update.yml | 4 ++-- 2 files changed, 18 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f7964ed..d479989 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -30,6 +30,13 @@ jobs: - name: Checkout 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 with: purge-packages: 'true' @@ -43,11 +50,16 @@ jobs: - uses: DeterminateSystems/magic-nix-cache-action@v8 - - uses: cachix/cachix-action@v15 - with: - name: daylin - authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}" + # - name: Install and login to attic cache + # run: | + # nix profile install "nixpkgs#attic-client" + # 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 if: "${{ inputs.lockFile != '' }}" run: | diff --git a/.github/workflows/update.yml b/.github/workflows/update.yml index a386b78..1c129c8 100644 --- a/.github/workflows/update.yml +++ b/.github/workflows/update.yml @@ -20,8 +20,9 @@ jobs: - name: Checkout uses: actions/checkout@v4 + # needed to access ghostty repo for now - name: Setup SSH - uses: MrSquaare/ssh-setup-action@v1 + uses: MrSquaare/ssh-setup-action@v3 with: host: github.com private-key: ${{ secrets.SSH_PRIVATE_KEY }} @@ -38,7 +39,6 @@ jobs: experimental-features = pipe-operator accept-flake-config = true - - name: Install and login to attic cache run: | nix profile install "nixpkgs#attic-client"