ci: Skip cachix push when no cachix token is set

This happens in forks.
This commit is contained in:
Wolfgang Walther
2025-01-18 17:54:42 +01:00
parent f09b4f4b7d
commit 5d5ee71dce
+1
View File
@@ -20,6 +20,7 @@ runs:
with:
name: postgrest
authToken: ${{ inputs.authToken }}
skipPush: ${{ inputs.authToken == '' }}
- if: ${{ inputs.tools }}
run: nix-env -f default.nix -iA ${{ inputs.tools }}
shell: bash