Skip to content

Commit

Permalink
auto updater
Browse files Browse the repository at this point in the history
  • Loading branch information
appaquet committed Oct 3, 2024
1 parent 5674ff9 commit a0f5baa
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/updater.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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"
Expand Down

0 comments on commit a0f5baa

Please sign in to comment.