Refactor build process to include export directory in Debian package #3
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Release | |
on: | |
push: | |
tags: | |
- 'v*' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Build Debian package | |
run: | | |
docker build -t builder -f docker/Dockerfile.build . | |
docker run --rm -v ${{ github.workspace }}:/build builder dpkg-buildpackage -us -uc | |
- name: Create Release | |
uses: softprops/action-gh-release@v1 | |
with: | |
files: | | |
../*.deb | |
generate_release_notes: true | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |