use a single printf call

This commit is contained in:
Daylin Morgan 2024-10-04 14:37:10 -05:00
parent 0a0f8d1de1
commit 17c2e0ff82
Signed by: daylin
GPG key ID: 950D13E9719334AD

View file

@ -38,10 +38,10 @@ jobs:
- name: Update nix flake - name: Update nix flake
run: | run: |
printf '# Flake Lock\n\n```txt\n' >> $GITHUB_STEP_SUMMARY
nix flake update --commit-lock-file nix flake update --commit-lock-file
git show -s --format='%B' >> $GITHUB_STEP_SUMMARY printf '# Flake Lock\n\n```txt\n%s```\n' \
printf '```\n' >> $GITHUB_STEP_SUMMARY "$(git show -s --format='%B')" \
>> $GITHUB_STEP_SUMMARY
- name: Pre-build oizys - name: Pre-build oizys
run: nix build . run: nix build .