Skip to content

Commit c524ce4

Browse files
authored
Merge pull request #112 from jrha/rpm_artifacts
github/workflows: Build packages and upload as artifacts
2 parents b7a2049 + e037ae9 commit c524ce4

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/continuous-integration.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,11 @@ jobs:
2626
chown -R quattortest:quattortest . /tmp/m2
2727
# we have to run as a non-root user to pass the spma tests
2828
# secondly, we first download all maven dependencies and then run the tests because it fails with hanging downloads otherwise.
29-
runuser --shell /bin/bash --preserve-environment --command "source /usr/bin/mvn_test.sh && mvn_run \"dependency:resolve-plugins dependency:go-offline $MVN_ARGS\" && mvn_test" quattortest
29+
runuser --shell /bin/bash --preserve-environment --command "source /usr/bin/mvn_test.sh && mvn_run \"dependency:resolve-plugins dependency:go-offline $MVN_ARGS\" && mvn_pack" quattortest
3030
env:
3131
MVN_ARGS: -Dmaven.repo.local=/tmp/m2
32+
- name: Upload Packages
33+
uses: actions/upload-artifact@v4
34+
with:
35+
name: rpms
36+
path: target/rpm/*/RPMS/*/*.rpm

0 commit comments

Comments
 (0)