-
Notifications
You must be signed in to change notification settings - Fork 0
45 lines (41 loc) · 1.12 KB
/
build.yml
File metadata and controls
45 lines (41 loc) · 1.12 KB
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: Build packages
on:
workflow_dispatch:
inputs:
packages:
description: 'Packages to build'
type: string
default: 'archlinux/* debian/*'
required: true
deploy:
description: 'Deploy to package repository'
type: boolean
default: false
required: true
push:
branches:
- master
jobs:
build-archlinux:
name: Build Arch Linux packages
uses: ./.github/workflows/build-archlinux.yml
secrets: inherit
with:
packages: ${{ inputs.packages }}
deploy: ${{ github.event_name == 'push' || inputs.deploy }}
build-debian-amd64:
name: Build Debian packages (amd64)
uses: ./.github/workflows/build-debian.yml
secrets: inherit
with:
packages: ${{ inputs.packages }}
arch: amd64
deploy: ${{ github.event_name == 'push' || inputs.deploy }}
build-debian-arm64:
name: Build Debian packages (arm64)
uses: ./.github/workflows/build-debian.yml
secrets: inherit
with:
packages: ${{ inputs.packages }}
arch: arm64
deploy: ${{ github.event_name == 'push' || inputs.deploy }}