From 4526938d396529bb6405336cfe47d70b0ed99d41 Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Sat, 7 Mar 2020 13:30:56 -0800 Subject: [PATCH] ;ci: github: linux: don't break if dirs are missing --- .github/workflows/linux-nightly.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/linux-nightly.yml b/.github/workflows/linux-nightly.yml index 6c1df5c70..7f7ff4520 100644 --- a/.github/workflows/linux-nightly.yml +++ b/.github/workflows/linux-nightly.yml @@ -99,7 +99,7 @@ jobs: - name: show stuff run: | - ls -lFRa ~/.stack + if [[ -e ~/.stack ]]; then ls -lFRa ~/.stack; fi - name: Cache stack-installed programs in ~/.local/bin id: stack-programs @@ -111,7 +111,7 @@ jobs: - name: show stuff run: | - ls -lFRa ~/.local/bin + if [[ -e ~/.local/bin ]]; then ls -lFRa ~/.local/bin; fi # stack's local package dbs for the project and each package - name: Cache .stack-work