Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions .github/workflows/module_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,11 @@ on:
required: false
default: '3.1'
type: "string"
additional_packages:
description: "Space-separated list of OS packages to install on the runner (apt-get)"
required: false
default: ''
type: "string"

# ENABLE PUPPETCORE. The calling workflow must:
# - Set a valid PUPPET_FORGE_TOKEN secret on its repository.
Expand All @@ -49,6 +54,10 @@ jobs:
with:
ref: ${{ github.event.pull_request.head.sha }}

- name: "Install additional packages"
if: ${{ inputs.additional_packages != '' }}
run: sudo apt-get install -y ${{ inputs.additional_packages }}

- name: "Setup ruby"
uses: "ruby/setup-ruby@v1"
with:
Expand Down Expand Up @@ -85,6 +94,10 @@ jobs:
with:
ref: ${{ github.event.pull_request.head.sha }}

- name: "Install additional packages"
if: ${{ inputs.additional_packages != '' }}
run: sudo apt-get install -y ${{ inputs.additional_packages }}

- name: "Setup ruby"
uses: "ruby/setup-ruby@v1"
with:
Expand Down