From d0d02ca12bf08f6d37b326b90aa52f84bfc4487e Mon Sep 17 00:00:00 2001 From: Vladimir Ischenko Date: Mon, 2 Dec 2024 12:17:28 +0300 Subject: [PATCH] Add test action build packages --- .github/workflows/build_packages.yml | 12 +++++++++--- install/rpm/SPECS/SOURCES/product.rpmlintrc | 2 +- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build_packages.yml b/.github/workflows/build_packages.yml index dbda6583a83..46359ed0219 100644 --- a/.github/workflows/build_packages.yml +++ b/.github/workflows/build_packages.yml @@ -61,9 +61,13 @@ jobs: - name: Set matrix id: set-matrix run: | + BUILD_DEB="${{ steps.changes.outputs.build_deb }}" + BUILD_RPM="${{ steps.changes.outputs.build_rpm }}" + echo "BUILD_DEB=$BUILD_DEB" + echo "BUILD_RPM=$BUILD_RPM" matrix=$(jq -n \ - --arg build_deb "${{ steps.changes.outputs.build_deb }}" \ - --arg build_rpm "${{ steps.changes.outputs.build_rpm }}" \ + --arg build_deb "$BUILD_DEB" \ + --arg build_rpm "$BUILD_RPM" \ '{ include: [ {packageType: "deb"}, @@ -73,7 +77,9 @@ jobs: (.packageType == "deb" and $build_deb == "true") or (.packageType == "rpm" and $build_rpm == "true") )]}') - echo "matrix=$matrix" >> $GITHUB_OUTPUT + echo "matrix<> $GITHUB_OUTPUT + echo "$matrix" >> $GITHUB_OUTPUT + echo "EOF" >> $GITHUB_OUTPUT build: name: Build Packages diff --git a/install/rpm/SPECS/SOURCES/product.rpmlintrc b/install/rpm/SPECS/SOURCES/product.rpmlintrc index 5fd9db3900d..845931e3c25 100644 --- a/install/rpm/SPECS/SOURCES/product.rpmlintrc +++ b/install/rpm/SPECS/SOURCES/product.rpmlintrc @@ -1,4 +1,4 @@ -## Ignoring node_modules errors due to lack of ability to influence them +# Ignoring node_modules errors due to lack of ability to influence them addFilter(r'node_modules') # Packages use a non-standard user and group for our project directories, but the user and group are created in %pre common