Skip to content

Commit

Permalink
Use fromJson
Browse files Browse the repository at this point in the history
  • Loading branch information
flomnes committed Mar 1, 2022
1 parent 8c1ee85 commit 694b510
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/generate-archives.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- name: Read study-batches.txt
id: read_batches
run: |
BATCHES=$(printf "%s," $(cat study-batches.txt) | sed "s/^/[/;s/,$/]/")
BATCHES=$(printf "\"%s\"," $(cat study-batches.txt) | sed "s/^/[/;s/,$/]/")
echo "::set-output name=batches::$BATCHES"
- name: Get release
Expand All @@ -40,7 +40,7 @@ jobs:
needs: read_batches
strategy:
matrix:
batch: ${{ needs.read_batches.outputs.batches }}
batch: ${{ fromJson(needs.read_batches.outputs.batches) }}

steps:
- name: Get release
Expand Down

0 comments on commit 694b510

Please sign in to comment.