build-deb.yml: Set up matrix for debian and ubuntu
Some checks failed
/ build (debian-sd:stable) (pull_request) Successful in 14m6s
/ build (ubuntu-sd:jammy) (pull_request) Failing after 19s
/ build (pull_request) Failing after 26s

This commit is contained in:
Xavier Del Campo Romero 2025-01-23 22:37:19 +01:00
parent 9067b0e02b
commit db9e17eadc
Signed by: xavi
GPG key ID: 84FF3612A9BF43F2

View file

@ -1,9 +1,15 @@
on: [pull_request]
jobs:
build:
strategy:
matrix:
image: [
debian-sd:stable,
ubuntu-sd:jammy,
]
runs-on: docker
container:
image: forge.a-lec.org/speed-dreams/debian-sd:stable
image: forge.a-lec.org/speed-dreams/${{ matrix.image }}
steps:
- name: Clone repository
run: |
@ -21,7 +27,7 @@ jobs:
run: cpack -G DEB
working-directory: /src/build
- name: Upload Debian package
run: upload-artifact *.deb
run: upload-artifact -d ${{ matrix.image }} *.deb
working-directory: /src/build
env:
URL: ${{ vars.STORE_URL }}