Skip to content

Commit

Permalink
Add test action build packages
Browse files Browse the repository at this point in the history
  • Loading branch information
isboston committed Dec 2, 2024
1 parent 67e2763 commit d0d02ca
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/build_packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"},
Expand All @@ -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<<EOF" >> $GITHUB_OUTPUT
echo "$matrix" >> $GITHUB_OUTPUT
echo "EOF" >> $GITHUB_OUTPUT
build:
name: Build Packages
Expand Down
2 changes: 1 addition & 1 deletion install/rpm/SPECS/SOURCES/product.rpmlintrc
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit d0d02ca

Please sign in to comment.