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 4577339 commit bac6c93
Showing 1 changed file with 4 additions and 23 deletions.
27 changes: 4 additions & 23 deletions .github/workflows/build-debian-package.yml
Original file line number Diff line number Diff line change
@@ -1,29 +1,10 @@
on: [push]
on: push

name: Release Process

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

jobs:
build-debs:
runs-on: self-hosted
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build Debian package
uses: dawidd6/action-debian-package@v1
with:
artifacts_directory: debian/build/release/
- uses: actions/upload-artifact@v1
- uses: jtdor/build-deb-action@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/*

buildpackage-opts: --build=binary --no-sign

0 comments on commit bac6c93

Please sign in to comment.