From a0f5baa207e19bc77b6dcd45ea072b16bf4383ef Mon Sep 17 00:00:00 2001 From: Andre-Philippe Paquet Date: Wed, 2 Oct 2024 21:38:36 -0400 Subject: [PATCH] auto updater --- .github/workflows/updater.yaml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/updater.yaml b/.github/workflows/updater.yaml index b684eef..51941fb 100644 --- a/.github/workflows/updater.yaml +++ b/.github/workflows/updater.yaml @@ -223,13 +223,13 @@ jobs: uses: actions/upload-artifact@v4 with: name: diff - path: diff + path: something-diff if-no-files-found: ignore # no files means no diff - name: Add as artifact uses: actions/upload-artifact@v4 with: - name: flake.nix - path: flake.nix + name: flake.lock + path: flake.lock create_pr: runs-on: ubuntu-latest @@ -256,6 +256,8 @@ jobs: fi mkdir -p diffs # ensure we don't fail if no diffs + ls -la diffs/ + find diffs -name "*-diff" -exec cat {} \; > all-diffs if [ -z "$(cat all-diffs)" ]; then echo "No diffs found, exiting"