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.
This commit is contained in:
2026-02-16 14:03:59 -07:00
parent 7ff4cb9b8a
commit fe55334f5c

View File

@@ -35,11 +35,14 @@ jobs:
set -eux set -eux
dpkg-buildpackage -us -uc -b 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 - name: Upload Debian artifacts
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v4
with: with:
name: zoitechat-debian-packages name: zoitechat-debian-packages
path: | path: artifacts/*
../*.deb
../*.changes
../*.buildinfo