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 }}