-
-
Notifications
You must be signed in to change notification settings - Fork 33
45 lines (42 loc) · 1020 Bytes
/
build.yml
File metadata and controls
45 lines (42 loc) · 1020 Bytes
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 Linux release
on:
workflow_dispatch:
inputs:
runner:
required: false
description: "Runner image to use"
default: "ubuntu-latest"
do-release:
required: false
type: boolean
description: "Create a release after build is done"
default: false
permissions:
contents: write
jobs:
build:
name: Build Helium binaries and AppImage
strategy:
matrix:
arch: [arm64, x86_64]
max-parallel: 2
fail-fast: true
uses: ./.github/workflows/build-steps.yml
secrets: inherit
with:
arch: ${{ matrix.arch }}
runs-on: ${{ inputs.runner }}
release:
name: Create release
runs-on: ubuntu-latest
needs: build
if: ${{ inputs.do-release }}
steps:
- uses: actions/checkout@v4
with:
submodules: true
fetch-depth: 0
fetch-tags: true
- uses: ./.github/actions/release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}