From 4d07cde94e47acae74e2e8388d982e5f757f13ae Mon Sep 17 00:00:00 2001 From: twojstaryzdomu Date: Wed, 27 Apr 2022 14:31:09 +0200 Subject: [PATCH] Added Debian package build & publish workflow using github actions --- .github/workflows/build-publish.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/build-publish.yml diff --git a/.github/workflows/build-publish.yml b/.github/workflows/build-publish.yml new file mode 100644 index 000000000..f8d6233d3 --- /dev/null +++ b/.github/workflows/build-publish.yml @@ -0,0 +1,27 @@ +name: Build & publish +on: {push: {branches: [master]}, pull_request: {branches: [master]}, workflow_dispatch} + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + with: + fetch-depth: '0' + - id: debianise + uses: twojstaryzdomu/debianise@HEAD + with: + create_changelog: true + install_build_depends: false + debug: true + - id: action-gh-release + uses: softprops/action-gh-release@v1 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + files: ${{ steps.debianise.outputs.files }} + name: ${{ steps.debianise.outputs.release_name }} + tag_name: ${{ steps.debianise.outputs.tag_name }} + fail_on_unmatched_files: true + draft: true + prerelease: true