Fix build-deb: copy .deb to workspace before upload (actions/upload-artifact requires non-relative paths)
Some checks failed
CI/CD Pipeline / Code Format (push) Successful in 11s
CI/CD Pipeline / Clippy Lints (push) Successful in 10m28s
CI/CD Pipeline / Unit Tests (push) Successful in 11m3s
CI/CD Pipeline / Security Audit (push) Successful in 1m33s
CI/CD Pipeline / Build Debian Package (push) Failing after 2m3s
CI/CD Pipeline / Build RPM Package (push) Failing after 14s
CI/CD Pipeline / Build Alpine Package (push) Failing after 1s
CI/CD Pipeline / Build Arch Package (push) Failing after 1s
CI/CD Pipeline / Create Release (push) Has been skipped
Some checks failed
CI/CD Pipeline / Code Format (push) Successful in 11s
CI/CD Pipeline / Clippy Lints (push) Successful in 10m28s
CI/CD Pipeline / Unit Tests (push) Successful in 11m3s
CI/CD Pipeline / Security Audit (push) Successful in 1m33s
CI/CD Pipeline / Build Debian Package (push) Failing after 2m3s
CI/CD Pipeline / Build RPM Package (push) Failing after 14s
CI/CD Pipeline / Build Alpine Package (push) Failing after 1s
CI/CD Pipeline / Build Arch Package (push) Failing after 1s
CI/CD Pipeline / Create Release (push) Has been skipped
This commit is contained in:
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
@ -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/')
|
||||
|
||||
Reference in New Issue
Block a user