Skip to content

Commit

Permalink
Update build-debian-package.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
jamazi authored May 28, 2024
1 parent feddd70 commit 4577339
Showing 1 changed file with 17 additions and 3 deletions.
20 changes: 17 additions & 3 deletions .github/workflows/build-debian-package.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,29 @@
on: [push]

name: Release Process

env:
SOURCE_DIR: ./
ARTIFACTS_DIR: debian/build/release/

jobs:
build-debs:
runs-on: self-hosted
steps:
- uses: actions/checkout@v4
- uses: jtdor/build-deb-action@v1
id: build
- name: Build Debian package
uses: dawidd6/action-debian-package@v1
with:
buildpackage-opts: --build=binary --no-sign
artifacts_directory: debian/build/release/
- uses: actions/upload-artifact@v1
with:
name: ${{ steps.build.outputs.filename }}
path: ${{ steps.build.outputs.filename }}
- name: Upload the artifacts
uses: skx/github-action-publish-binaries@release-2.0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
releaseId: ${{ needs.create-release.outputs.release-id }}
args: debian/build/release/*

0 comments on commit 4577339

Please sign in to comment.