From cc4e8c9b937a5485a03aacfac3c5353ba4994b32 Mon Sep 17 00:00:00 2001 From: Oliver Ni Date: Sun, 22 Sep 2024 19:47:49 -0700 Subject: [PATCH] how does bash work --- .github/workflows/build.yaml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index edbafb0..3bc9a2d 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -13,9 +13,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - run: | - echo "hosts=" >> "$GITHUB_OUTPUT" - ls hosts | sed -n 's/\.nix$//p' | jq -R | jq -s >> "$GITHUB_OUTPUT" + - run: echo "hosts=" && ls hosts | sed -n 's/\.nix$//p' | jq -R | jq -s >> "$GITHUB_OUTPUT" build: runs-on: ubuntu-latest