-
Notifications
You must be signed in to change notification settings - Fork 1
64 lines (51 loc) · 1.94 KB
/
latest_file_builder.yaml
File metadata and controls
64 lines (51 loc) · 1.94 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
name: Latest Build Example
on:
push:
branches: [ master, main ]
workflow_dispatch:
jobs:
local-deb-control-file-build-1:
name: Local Action - Generate Debian Package 1
runs-on: ubuntu-24.04
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Build Dockerfile Container & Run App in it
uses: ./
id: container
with:
config-file: 'ExampleFiles/example_control_template.json'
deps-file: 'ExampleFiles/product_deps.txt'
- name: Prints Output File Path
run: echo "${{ steps.container.outputs.control_file_path }}"
- name: Confirms Generated control File is Present
run: ls ${{ steps.container.outputs.control_file_path }}
- name: Upload Generated Control File
uses: actions/upload-artifact@v4
with:
name: locally-generated-control-file-1
path: "${{ steps.container.outputs.control_file_path }}"
if-no-files-found: error
local-deb-control-file-build-2:
name: Local Action - Generate Debian Package 2 (Case Insensitive JSON Keys)
runs-on: ubuntu-24.04
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Build Dockerfile Container & Run App in it
uses: ./
id: container
with:
config-file: 'ExampleFiles/example_control_template_cap_key.json'
deps-file: 'ExampleFiles/product_deps.txt'
case-sensitive-keys: 'false'
- name: Prints Output File Path
run: echo "${{ steps.container.outputs.control_file_path }}"
- name: Confirms Generated control File is Present
run: ls ${{ steps.container.outputs.control_file_path }}
- name: Upload Generated Control File
uses: actions/upload-artifact@v4
with:
name: locally-generated-control-file-2
path: "${{ steps.container.outputs.control_file_path }}"
if-no-files-found: error