Skip to content

Commit

Permalink
try to bundle deb file
Browse files Browse the repository at this point in the history
  • Loading branch information
alemuntoni committed Nov 30, 2022
1 parent fb25f39 commit af41793
Showing 1 changed file with 16 additions and 15 deletions.
31 changes: 16 additions & 15 deletions .github/workflows/BuildMeshLab.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand All @@ -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
- 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

0 comments on commit af41793

Please sign in to comment.