Skip to content

Commit

Permalink
WIP: Build debian package
Browse files Browse the repository at this point in the history
  • Loading branch information
lionel- committed Jan 31, 2024
1 parent bfd7791 commit c5fdfd8
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/release-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ jobs:

env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
DEBUG_FLAG: ${{ matrix.flavor == 'debug' && '-debug' || '' }}

strategy:
matrix:
Expand All @@ -39,3 +40,14 @@ jobs:
run: |
cargo clean
cargo build ${{ matrix.flavor == 'release' && '--release' || '' }}
- name: Create .deb package
run: |
cargo install cargo-deb
cargo deb -p ark --separate-debug-symbols --output ark-${{ inputs.version }}${{ env.DEBUG_FLAG }}-x64.deb
- name: Upload .deb package
uses: actions/upload-artifact@v3
with:
name: ark-${{ inputs.version }}${{ env.DEBUG_FLAG }}-x64.deb
path: ark-${{ inputs.version }}${{ env.DEBUG_FLAG }}-x64.deb

0 comments on commit c5fdfd8

Please sign in to comment.