Skip to content

Commit

Permalink
Added Debian package build & publish workflow using github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
twojstaryzdomu authored and tridge committed Apr 7, 2024
1 parent caf7770 commit f474918
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/build-publish.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit f474918

Please sign in to comment.