From bb1e59ab280f7a061ddb569107fc00e7f8cfad64 Mon Sep 17 00:00:00 2001 From: Echo Date: Sun, 12 Apr 2026 19:19:04 +0000 Subject: [PATCH] Fix build-deb: copy .deb to workspace before upload (actions/upload-artifact requires non-relative paths) --- .github/workflows/ci.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f2fc666..f587e3e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -101,11 +101,13 @@ jobs: apt-get install -y build-essential debhelper cargo rustc libsystemd-dev pkg-config - name: Build Debian package run: dpkg-buildpackage -us -uc -b + - name: Copy .deb to workspace + run: cp ../linux-patch-api_*.deb . - name: Upload .deb artifact uses: actions/upload-artifact@v4 with: name: linux-patch-api-deb - path: ../linux-patch-api_*.deb + path: linux-patch-api_*.deb retention-days: 30 - name: Upload to releases (on tag) if: startsWith(github.ref, 'refs/tags/')