From 6adf73b4be95062d28ddc188c69e0a419a9ec24f Mon Sep 17 00:00:00 2001 From: Luc Perkins Date: Fri, 26 Sep 2025 01:55:33 +0200 Subject: [PATCH] Fix SSH agent logic --- .github/workflows/workflow.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index b1963a7..1ccdd78 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -98,7 +98,7 @@ jobs: - uses: DeterminateSystems/determinate-nix-action@v3 - uses: DeterminateSystems/flakehub-cache-action@main - uses: webfactory/ssh-agent@v0.9.0 - if: ${{ inputs.enable-ssh-agent }} + if: ${{ inputs.enable-ssh-agent == 'true' }} with: ssh-private-key: ${{ secrets.ssh-private-key }} - name: Inventory the flake for targeted systems @@ -126,7 +126,7 @@ jobs: - uses: DeterminateSystems/determinate-nix-action@v3 - uses: DeterminateSystems/flakehub-cache-action@main - uses: webfactory/ssh-agent@v0.9.0 - if: ${{ inputs.enable-ssh-agent }} + if: ${{ inputs.enable-ssh-agent == 'true' }} with: ssh-private-key: ${{ secrets.ssh-private-key }} - name: Build for ${{ matrix.systems.nix-system }}