build-deb.yml: Set up matrix for debian and ubuntu
This commit is contained in:
parent
9067b0e02b
commit
db9e17eadc
1 changed files with 8 additions and 2 deletions
|
@ -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 }}
|
||||
|
|
Loading…
Reference in a new issue