From 17c2e0ff826fb85818f122caaf98e7c7fb2c7d2d Mon Sep 17 00:00:00 2001 From: Daylin Morgan Date: Fri, 4 Oct 2024 14:37:10 -0500 Subject: [PATCH] use a single printf call --- .github/workflows/update.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/update.yml b/.github/workflows/update.yml index 6b215c1..8eba61a 100644 --- a/.github/workflows/update.yml +++ b/.github/workflows/update.yml @@ -38,10 +38,10 @@ jobs: - name: Update nix flake run: | - printf '# Flake Lock\n\n```txt\n' >> $GITHUB_STEP_SUMMARY nix flake update --commit-lock-file - git show -s --format='%B' >> $GITHUB_STEP_SUMMARY - printf '```\n' >> $GITHUB_STEP_SUMMARY + printf '# Flake Lock\n\n```txt\n%s```\n' \ + "$(git show -s --format='%B')" \ + >> $GITHUB_STEP_SUMMARY - name: Pre-build oizys run: nix build .