Skip to content

Commit

Permalink
make command multiline
Browse files Browse the repository at this point in the history
  • Loading branch information
ArneBinder committed Apr 16, 2024
1 parent 7b1a16f commit 7a1d183
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/test_pie_datasets.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,10 @@ jobs:
steps:
- uses: actions/checkout@v2
- id: set-datasets # Give it an id to handle to get step outputs in the outputs key above
run: echo "datasets=$(ls dataset_builders/pie | jq -R -s -c 'split("\n")[:-1]')" >> "$GITHUB_OUTPUT"
# Define step output named dir base on ls command transformed to JSON thanks to jq
run: |
DATASETS=$(ls dataset_builders/pie | jq -R -s -c 'split("\n")[:-1]')
echo "datasets=$DATASETS" >> "$GITHUB_OUTPUT"
dataset_builder:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 7a1d183

Please sign in to comment.