Skip to content

Commit

Permalink
use command substitution
Browse files Browse the repository at this point in the history
  • Loading branch information
oliver-ni committed Sep 23, 2024
1 parent 97fb6f9 commit 430e8a4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- run: |
echo -n "hosts=" && ls hosts | sed -n 's/\.nix$//p' | jq -R | jq -sc >> "$GITHUB_OUTPUT"
echo -n "hosts=" && ls hosts | sed -n 's/\.nix$//p' | jq -R | jq -sc
echo "hosts=$(ls hosts | sed -n 's/\.nix$//p' | jq -R | jq -sc)" >> "$GITHUB_OUTPUT"
test:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 430e8a4

Please sign in to comment.