|
|
@@ -1,6 +1,7 @@
|
|
|
name: Debian Packages
|
|
|
permissions: read-all
|
|
|
on:
|
|
|
+ workflow_dispatch:
|
|
|
push:
|
|
|
tags:
|
|
|
- '[0-9]+.[0-9]+.[0-9]+'
|
|
|
@@ -28,8 +29,34 @@ jobs:
|
|
|
run: make debian-packages
|
|
|
- name: List generated files
|
|
|
run: ls -l *.deb
|
|
|
+ build-packages-manually:
|
|
|
+ if: github.event.workflow_dispatch
|
|
|
+ name: Build Packages Manually
|
|
|
+ runs-on: ubuntu-latest
|
|
|
+ steps:
|
|
|
+ - uses: actions/checkout@v4
|
|
|
+ with:
|
|
|
+ fetch-depth: 0
|
|
|
+ - name: Set up QEMU
|
|
|
+ uses: docker/setup-qemu-action@v3
|
|
|
+ - name: Set up Docker Buildx
|
|
|
+ uses: docker/setup-buildx-action@v3
|
|
|
+ id: buildx
|
|
|
+ with:
|
|
|
+ install: true
|
|
|
+ - name: Available Docker Platforms
|
|
|
+ run: echo ${{ steps.buildx.outputs.platforms }}
|
|
|
+ - name: Build Debian Packages
|
|
|
+ run: make debian-packages
|
|
|
+ - name: Upload package
|
|
|
+ uses: actions/upload-artifact@v4
|
|
|
+ with:
|
|
|
+ name: packages
|
|
|
+ path: "*.deb"
|
|
|
+ if-no-files-found: error
|
|
|
+ retention-days: 3
|
|
|
publish-packages:
|
|
|
- if: ${{ ! github.event.pull_request }}
|
|
|
+ if: github.event.push
|
|
|
name: Publish Packages
|
|
|
runs-on: ubuntu-latest
|
|
|
steps:
|