aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/release-build.yaml
blob: 8d8bc68170f06d1a343307facd54d4169058cd07 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
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