Skip to content

Commit

Permalink
directories: change ls to find
Browse files Browse the repository at this point in the history
  • Loading branch information
z-tech committed Nov 22, 2023
1 parent e8c709f commit bcae6b1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit bcae6b1

Please sign in to comment.