From fe55334f5c2425645e38869c464bb13e506b7a73 Mon Sep 17 00:00:00 2001 From: deepend Date: Mon, 16 Feb 2026 14:03:59 -0700 Subject: [PATCH] Updated the Debian CI workflow to collect generated package files into a workspace-local artifacts/ directory before upload, avoiding disallowed ../ path traversal patterns in actions/upload-artifact@v4. Updated the upload step to use path: artifacts/*, which is compatible with v4 artifact path validation rules. --- .github/workflows/debian-build.yml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/debian-build.yml b/.github/workflows/debian-build.yml index 2288eccb..dc8f312f 100644 --- a/.github/workflows/debian-build.yml +++ b/.github/workflows/debian-build.yml @@ -35,11 +35,14 @@ jobs: set -eux dpkg-buildpackage -us -uc -b + - name: Collect Debian artifacts + run: | + set -eux + mkdir -p artifacts + cp -v ../*.deb ../*.changes ../*.buildinfo artifacts/ + - name: Upload Debian artifacts uses: actions/upload-artifact@v4 with: name: zoitechat-debian-packages - path: | - ../*.deb - ../*.changes - ../*.buildinfo + path: artifacts/*