Skip to content

Latest Build Example #25

Latest Build Example

Latest Build Example #25

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