Commit 42ccbc7 1 parent eb52b15 commit 42ccbc7 Copy full SHA for 42ccbc7
File tree 1 file changed +7
-2
lines changed
1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change 5
5
packages :
6
6
description : " Packages to Build"
7
7
required : true
8
+ custom_builder :
9
+ description : " Custom Builder"
10
+ required : false
11
+ default : " "
8
12
9
13
jobs :
10
14
parse :
11
15
outputs :
12
16
pkgs : ${{ steps.parsing.outputs.pkgs }}
17
+ builder : ${{ inputs.custom_builder }}
13
18
runs-on : " ubuntu-latest"
14
19
steps :
15
20
- name : Parse Input
22
27
matrix :
23
28
pkg : ${{ fromJson(needs.parse.outputs.pkgs) }}
24
29
version : ["40"]
25
- arch : ["x86_64", "aarch64"]
30
+ arch : ${{ output.builder == "x86-64-lg" && ["x86_64"] || ["x86_64" , "aarch64"] }}
26
31
fail-fast : false
27
- runs-on : ${{ matrix.arch == 'aarch64' && 'ARM64' || 'ubuntu-latest' }}
32
+ runs-on : ${{ matrix.arch == 'aarch64' && 'ARM64' || output.builder && output.builder || 'ubuntu-latest' }}
28
33
container :
29
34
image : ghcr.io/terrapkg/builder:f${{ matrix.version }}
30
35
options : --cap-add=SYS_ADMIN --privileged
You can’t perform that action at this time.
0 commit comments