Skip to content

Commit

Permalink
Use JSON for usermods list
Browse files Browse the repository at this point in the history
  • Loading branch information
netmindz committed Jan 22, 2025
1 parent b3af04d commit b1b2eea
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/usermods.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@ jobs:
- name: Get default environments
id: envs
run: |
mods=`find usermods/ -name library.json | xargs dirname | xargs -n 1 basename | jq -R | jq --slurp -c`
echo "usermods=$mods >> $GITHUB_OUTPUT
echo "usermods=$(find usermods/ -name library.json | xargs dirname | xargs -n 1 basename | jq -R | jq --slurp -c)" >> $GITHUB_OUTPUT
outputs:
usermods: ${{ steps.envs.outputs.usermods }}

Expand Down

0 comments on commit b1b2eea

Please sign in to comment.