Skip to content

Commit

Permalink
generate DEB package in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
christianrauch committed Sep 15, 2024
1 parent 79dd984 commit 56316da
Showing 1 changed file with 22 additions and 1 deletion.
23 changes: 22 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/')
Expand All @@ -75,4 +96,4 @@ jobs:
uses: ncipollo/release-action@v1
id: create_release
with:
artifacts: ROSProjectManager-*-*-*.zip
artifacts: ROSProjectManager-*-*-*.zip,ROSProjectManager-*-*-*.deb

0 comments on commit 56316da

Please sign in to comment.