From c18ea3f844fbb0085f8ed53636e59813202f2f1c Mon Sep 17 00:00:00 2001 From: Kamil Cudnik Date: Tue, 17 Oct 2023 17:43:42 +0200 Subject: [PATCH] Build libsai deb packages in github workflow (#450) * Build libsai deb packages in github workflow Needed step for exposing later as artifacts to consume by other pipelines * Fix workflow name * Upload libsai debian packages artifact * Give full path * Fail as error if no files were found --- .github/workflows/dash-bmv2-ci.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/dash-bmv2-ci.yml b/.github/workflows/dash-bmv2-ci.yml index 7228b53fa..f1cb7b2e1 100644 --- a/.github/workflows/dash-bmv2-ci.yml +++ b/.github/workflows/dash-bmv2-ci.yml @@ -90,4 +90,10 @@ jobs: run: DOCKER_FLAGS=$docker_fg_flags make docker-saichallenger-client - name: Run SAI-Challenger Tests run: DOCKER_FLAGS=$docker_fg_root_flags make run-saichallenger-tests - + - name: Build libsai debian packages + run: DOCKER_FLAGS=$docker_fg_root_flags make libsai-debs + - uses: actions/upload-artifact@v3 + with: + name: libsai-debian-packages + path: /home/runner/work/DASH/DASH/dash-pipeline/SAI/debian/*deb + if-no-files-found: error