From af4179331822e55f9356e8623ca59c23eb587bcd Mon Sep 17 00:00:00 2001 From: alemuntoni Date: Wed, 30 Nov 2022 15:28:44 +0100 Subject: [PATCH] try to bundle deb file --- .github/workflows/BuildMeshLab.yml | 31 +++++++++++++++--------------- 1 file changed, 16 insertions(+), 15 deletions(-) diff --git a/.github/workflows/BuildMeshLab.yml b/.github/workflows/BuildMeshLab.yml index 85bc8c9ae..7df6840cf 100644 --- a/.github/workflows/BuildMeshLab.yml +++ b/.github/workflows/BuildMeshLab.yml @@ -53,6 +53,16 @@ jobs: shell: bash run: | bash scripts/${{ runner.os }}/1_build.sh --${{ matrix.precision }} --nightly --ccache + - name: Build deb package + if: runner.os == 'Linux' + uses: jiro4989/build-deb-action@v2 + with: + package: MeshLab + package_root: install + maintainer: cnr-isti-vclab + version: 2022.02 # refs/tags/v*.*.* + arch: 'amd64' + desc: 'MeshLab 2022.02 deb package.' - name: Deploy shell: bash run: | @@ -71,18 +81,9 @@ jobs: with: name: MeshLab_${{ runner.os }}_packages${{steps.envs.outputs.artifact_suffix}} path: packages/MeshLab* - #todo: try deb when ubuntu16.04 won't be required anymore by linuxdeployqt... - #- name: Build deb package - # uses: jiro4989/build-deb-action@v2 - # with: - # package: MeshLab - # package_root: install - # maintainer: cnr-isti-vclab - # version: ${{steps.envs.outputs.version}} # refs/tags/v*.*.* - # arch: 'amd64' - # desc: 'MeshLab ${{steps.envs.outputs.version}} deb package.' - #- name: Upload MeshLab deb - # uses: actions/upload-artifact@v3 - # with: - # name: meshlab_linux_deb${{steps.envs.outputs.artifact_suffix}} - # path: MeshLab_${{steps.envs.outputs.version}}_amd64.deb \ No newline at end of file + - name: Upload MeshLab deb + if: runner.os == 'Linux' + uses: actions/upload-artifact@v3 + with: + name: MeshLab_${{ runner.os }}_deb${{steps.envs.outputs.artifact_suffix}} + path: MeshLab_2022.02_amd64.deb \ No newline at end of file