From bcae6b1a2b40cdad7d7ddcabc5543f3db555b433 Mon Sep 17 00:00:00 2001 From: Andrew Z Date: Wed, 22 Nov 2023 11:21:23 +0100 Subject: [PATCH] directories: change ls to find --- .github/workflows/ci.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 498aa87ca..666a58d6e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -181,7 +181,7 @@ jobs: steps: - uses: actions/checkout@v3 - id: set-dirs # Give it an id to handle to get step outputs in the outputs key above - run: echo "::set-output name=dir::$(ls -d */ | jq -R -s -c 'split("\n")[:-1]')" + run: echo "::set-output name=dir::$(find -d */ | jq -R -s -c 'split("\n")[:-1]')" working-directory: ./curves # Define step output named dir base on ls command transformed to JSON thanks to jq @@ -274,6 +274,7 @@ jobs: ~/.cargo/git target key: ${{ runner.os }}-cargo-${{ hashFiles('**/curves/Cargo.lock') }} + lookup-only: true - name: Conditionally run the tests # if source code updated OR dependencies updated @@ -311,6 +312,7 @@ jobs: ~/.cargo/git target key: ${{ runner.os }}-cargo-${{ hashFiles('**/curves/Cargo.lock') }} + lookup-only: true - name: Conditionally run the tests # if source code updated OR dependencies updated