aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/release-build.yaml45
1 files changed, 45 insertions, 0 deletions
diff --git a/.github/workflows/release-build.yaml b/.github/workflows/release-build.yaml
new file mode 100644
index 0000000..8d8bc68
--- /dev/null
+++ b/.github/workflows/release-build.yaml
@@ -0,0 +1,45 @@
+name: "Release Build"
+
+on:
+ workflow_dispatch:
+ inputs:
+ version:
+ required: true
+ type: string
+ description: 'The server and web release tag ("vX.Y.Z") or "master"'
+
+permissions:
+ contents: read
+
+jobs:
+ checkoutRepository:
+ runs-on: ubuntu-22.04
+ steps:
+ - name: "Install dependencies"
+ run: |-
+ apt-get install --yes python3-git
+
+ - name: "Checkout Repository"
+ uses: actions/checkout@v3
+
+ - name: "Prepare Repository"
+ run: |-
+ ./checkout.py ${{ github.event.client_payload.version }}
+
+ buildDebianPackages:
+ runs-on: ubuntu-22.04
+ needs:
+ - checkoutRepository
+ strategy:
+ matrix:
+ version:
+ - 11
+ - 12
+ arch:
+ - amd64
+ - arm64
+ - armhf
+ steps:
+ - name: "Run builder for Debian ${{ matrix.version }} ${{ matrix.arch }}"
+ run: |-
+ ./build.py ${{ github.event.client_payload.version }} debian ${{ matrix.arch }} ${{ matrix.version }}
bgstack15