Skip to content

Commit

Permalink
update workflow-tester98
Browse files Browse the repository at this point in the history
  • Loading branch information
GuillaumeFalourd committed May 22, 2024
1 parent 7ab9a3b commit 1af1cbd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/workflow-tester98.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ jobs:
echo Saving iteration list output as Array
myArray=()
myArray+=("{\"cacheName\":\"iteration1\", \"expirationType\":\"iteration1\", \"expirationTime\":\"iteration1\"}")
myArray+=("{\"cacheName\":\"iteration2\", \"expirationType\":\"iteration3\", \"expirationTime\":\"iteration2\"}")
myArray+=("{\"cacheName\":\"iteration2\", \"expirationType\":\"iteration2\", \"expirationTime\":\"iteration2\"}")
myArray+=("{\"cacheName\":\"iteration3\", \"expirationType\":\"iteration3\", \"expirationTime\":\"iteration3\"}")
myArray=$(jq --compact-output --null-input '$ARGS.positional' --args -- "${myArray[@]}")
echo "Updated tasks list: $myArray"
echo "values==$myArray" >> $GITHUB_OUTPUT
echo "values=$myArray" >> $GITHUB_OUTPUT
- name: Check list
run: |
echo ${{ steps.set-iterations.outputs.values }}
Expand Down

0 comments on commit 1af1cbd

Please sign in to comment.