Skip to content

Commit

Permalink
how does GITHUB_OUTPUT work
Browse files Browse the repository at this point in the history
  • Loading branch information
oliver-ni committed Sep 23, 2024
1 parent 790b59b commit 97fb6f9
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,8 @@ jobs:
steps:
- uses: actions/checkout@v4
- run: |
echo -n "hosts=" >> "$GITHUB_OUTPUT"
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 -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
test:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 97fb6f9

Please sign in to comment.