From afb07d29d32c560193fa5010bd36633c9437780f Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 15 Dec 2025 11:16:14 +0000 Subject: [PATCH 1/4] build(deps): bump actions/download-artifact from 4.3.0 to 7.0.0 Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 4.3.0 to 7.0.0. - [Release notes](https://github.com/actions/download-artifact/releases) - [Commits](https://github.com/actions/download-artifact/compare/v4.3.0...v7.0.0) --- updated-dependencies: - dependency-name: actions/download-artifact dependency-version: 7.0.0 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index cb137aa..f5443d6 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -146,7 +146,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Get all artifacts - uses: actions/download-artifact@v4.3.0 + uses: actions/download-artifact@v7.0.0 with: path: binary @@ -181,7 +181,7 @@ jobs: pip install -r scripts/requirements.txt - name: Get all artifacts - uses: actions/download-artifact@v4.3.0 + uses: actions/download-artifact@v7.0.0 with: path: binary From 0ccf912aa8f477f8cbe6243586fd6c49ddb5fb5d Mon Sep 17 00:00:00 2001 From: Zxilly Date: Wed, 7 Oct 2026 00:54:55 -0700 Subject: [PATCH 2/4] ci: verify downloaded PR artifacts across all platforms Exercise download-artifact on pull requests without publishing releases, and retain both Windows results when one matrix target fails. --- .github/workflows/build.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f5443d6..b405c72 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -104,6 +104,7 @@ jobs: build_binary_windows: runs-on: windows-latest strategy: + fail-fast: false matrix: target: - x86_64-pc-windows-msvc @@ -140,6 +141,25 @@ jobs: name: ${{ matrix.target }} path: target/${{ matrix.target }}/release/znotify-${{ matrix.target }}.exe + verify_artifacts: + if: github.event_name == 'pull_request' + needs: [ build_binary_linux, build_binary_macos, build_binary_windows ] + runs-on: ubuntu-latest + steps: + - name: Download PR artifacts + uses: actions/download-artifact@v7.0.0 + with: + path: binary + - name: Verify platform binaries + shell: bash + run: | + for target in x86_64-unknown-linux-gnu aarch64-unknown-linux-gnu x86_64-apple-darwin aarch64-apple-darwin; do + test -s "binary/$target/znotify-$target" + done + for target in x86_64-pc-windows-msvc aarch64-pc-windows-msvc; do + test -s "binary/$target/znotify-$target.exe" + done + release_nightly: if: github.event_name == 'push' needs: [ build_binary_linux, build_binary_macos, build_binary_windows ] From a990662996bf3356af776199c160a28ccf83e0f2 Mon Sep 17 00:00:00 2001 From: Zxilly Date: Wed, 7 Oct 2026 01:11:30 -0700 Subject: [PATCH 3/4] fix: update libgit2-sys to restore Windows linking The 0.18.1 patch explicitly links Advapi32 on Windows, fixing the fresh x86_64 and aarch64 build-script linker failures. Cargo regenerated only the version and checksum in the lockfile. --- Cargo.lock | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 177dc98..bd1b7e8 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -880,9 +880,9 @@ checksum = "b5aba8db14291edd000dfcc4d620c7ebfb122c613afb886ca8803fa4e128a20a" [[package]] name = "libgit2-sys" -version = "0.18.0+1.9.0" +version = "0.18.1+1.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e1a117465e7e1597e8febea8bb0c410f1c7fb93b1e1cddf34363f8390367ffec" +checksum = "e1dcb20f84ffcdd825c7a311ae347cce604a6f084a767dec4a4929829645290e" dependencies = [ "cc", "libc", From 068ba8153a9b4393e0ded71d9aed1f1d459fda69 Mon Sep 17 00:00:00 2001 From: Zxilly Date: Wed, 7 Oct 2026 01:46:19 -0700 Subject: [PATCH 4/4] ci: verify Linux artifacts in their release subdirectory The uploaded Linux archive preserves release/ and debian/ directories. Match the path verified in the actual CI artifact while retaining checks for all six binaries. --- .github/workflows/build.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b405c72..52eb5f1 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -153,7 +153,10 @@ jobs: - name: Verify platform binaries shell: bash run: | - for target in x86_64-unknown-linux-gnu aarch64-unknown-linux-gnu x86_64-apple-darwin aarch64-apple-darwin; do + for target in x86_64-unknown-linux-gnu aarch64-unknown-linux-gnu; do + test -s "binary/$target/release/znotify-$target" + done + for target in x86_64-apple-darwin aarch64-apple-darwin; do test -s "binary/$target/znotify-$target" done for target in x86_64-pc-windows-msvc aarch64-pc-windows-msvc; do