From d4d6fc69a9641cb4ed45b063e21636c8c10d5126 Mon Sep 17 00:00:00 2001 From: Wolfgang Thaller Date: Sun, 31 Jul 2022 22:48:28 +0200 Subject: [PATCH] don't try to upload PR builds to cachix --- azure-pipelines.yml | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 2c4970d90c..346554d1c7 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -96,12 +96,16 @@ jobs: - publish: CompiledSamples artifact: Samples ($(TARGET)) - script: | + if [ -z "$CACHIX_AUTH_TOKEN" ]; then + echo "Token for cachix access not available, skipping." + exit + fi docker start nix -i <