test release
This commit is contained in:
parent
09f033585a
commit
1d84e58067
1 changed files with 27 additions and 5 deletions
32
.github/workflows/debpkg.yaml
vendored
32
.github/workflows/debpkg.yaml
vendored
|
|
@ -1,17 +1,39 @@
|
||||||
on: push
|
on:
|
||||||
|
push:
|
||||||
|
inputs:
|
||||||
|
runner_x86:
|
||||||
|
description: 'The runner to use for x86 builds'
|
||||||
|
required: false
|
||||||
|
type: string
|
||||||
|
default: buildjet-2vcpu-ubuntu-2204
|
||||||
|
runner_arm:
|
||||||
|
description: 'The runner to use for arm64 builds'
|
||||||
|
required: false
|
||||||
|
type: string
|
||||||
|
default: buildjet-2vcpu-ubuntu-2204-arm
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
build:
|
||||||
|
- arch: amd64
|
||||||
|
runs-on: ${{ inputs.runner_x86 }}
|
||||||
|
- arch: arm64
|
||||||
|
runs-on: ${{ inputs.runner_arm }}
|
||||||
build-debs:
|
build-debs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ${{ matrix.build.runs-on }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: jtdor/build-deb-action@v1
|
- uses: jtdor/build-deb-action@v1
|
||||||
|
name: build-deb
|
||||||
env:
|
env:
|
||||||
DEB_BUILD_OPTIONS: noautodbgsym
|
DEB_BUILD_OPTIONS: noautodbgsym
|
||||||
with:
|
with:
|
||||||
buildpackage-opts: -us -uc -b -rfakeroot
|
buildpackage-opts: -us -uc -b -rfakeroot
|
||||||
extra-build-deps: ca-certificates
|
extra-build-deps: ca-certificates
|
||||||
- uses: actions/upload-artifact@v4
|
|
||||||
|
- name: Tag to Release
|
||||||
|
uses: softprops/action-gh-release@v2
|
||||||
|
#if: startsWith(github.ref, 'refs/tags/')
|
||||||
with:
|
with:
|
||||||
name: Upload deb package
|
files: {{ steps.artifact.outputs.value }}
|
||||||
path: debian/artifacts/*.deb
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue