From 56316dafeff1a8d03f5c488b625b581a6dd5d8d7 Mon Sep 17 00:00:00 2001 From: Christian Rauch Date: Sun, 15 Sep 2024 12:51:44 +0200 Subject: [PATCH] generate DEB package in CI --- .github/workflows/main.yml | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 5c8241f0..fcedfa45 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -58,6 +58,27 @@ jobs: path: | ./build/ROSProjectManager-*-*-*.zip + - name: install Qt Creator DEB package + if: runner.os == 'Linux' + run: | + ./packaging/qtcreator_deb_install.sh + + - name: generate plugin DEB package + if: runner.os == 'Linux' + run: | + cd build + cpack -G DEB + + - name: upload artifact (DEB) + if: runner.os == 'Linux' + uses: actions/upload-artifact@v4 + with: + name: plugin_archive_artifact_${{ matrix.config.name }}_deb + if-no-files-found: error + path: | + ./build/ROSProjectManager-*-*-*.deb + ./build/ROSProjectManager-*-*-*.ddeb + release: name: create release if: contains(github.ref, '/tags/') @@ -75,4 +96,4 @@ jobs: uses: ncipollo/release-action@v1 id: create_release with: - artifacts: ROSProjectManager-*-*-*.zip + artifacts: ROSProjectManager-*-*-*.zip,ROSProjectManager-*-*-*.deb