Fix build-deb: copy .deb to workspace before upload (actions/upload-artifact requires non-relative paths)
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
|
apt-get install -y build-essential debhelper cargo rustc libsystemd-dev pkg-config
|
||||||
- name: Build Debian package
|
- name: Build Debian package
|
||||||
run: dpkg-buildpackage -us -uc -b
|
run: dpkg-buildpackage -us -uc -b
|
||||||
|
- name: Copy .deb to workspace
|
||||||
|
run: cp ../linux-patch-api_*.deb .
|
||||||
- name: Upload .deb artifact
|
- name: Upload .deb artifact
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: linux-patch-api-deb
|
name: linux-patch-api-deb
|
||||||
path: ../linux-patch-api_*.deb
|
path: linux-patch-api_*.deb
|
||||||
retention-days: 30
|
retention-days: 30
|
||||||
- name: Upload to releases (on tag)
|
- name: Upload to releases (on tag)
|
||||||
if: startsWith(github.ref, 'refs/tags/')
|
if: startsWith(github.ref, 'refs/tags/')
|
||||||
|
|||||||
Reference in New Issue
Block a user