Skip to content

Commit

Permalink
Configure GHA
Browse files Browse the repository at this point in the history
  • Loading branch information
tkcreateit committed Jun 7, 2024
1 parent 2b994b9 commit 559e729
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 18 deletions.
13 changes: 13 additions & 0 deletions .github/actions/check-recipe/action.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: "Check the recipe"
description: "Validates the recipe"

inputs:
path:
type: string
description: "The recipe path to validate"
required: true

runs:
using: "composite"
steps:
- run: echo "${{ inputs.path }}"
2 changes: 2 additions & 0 deletions .github/actions/check-recipe/entrypoint.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#!/bin/bash
echo "$1"
14 changes: 0 additions & 14 deletions .github/workflows/check-recipe.yaml

This file was deleted.

4 changes: 1 addition & 3 deletions .github/workflows/trigger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,8 @@ jobs:
files: ${{ fromJSON(needs.changed-files.outputs.matrix) }}

steps:
- name: Checkout recipes
uses: actions/checkout@v4
- name: Check the recipe
uses: ./.github/workflows/check-recipe.yaml
uses: ./actions/check-recipe
with:
path: ${{ matrix.files }}
# - run: echo "${{ matrix.files }}"
Expand Down
2 changes: 1 addition & 1 deletion module-template/b-7.1.x-ce-components-configuration.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

# temp comment 1 2 3 4
# temp comment 1 2 3 4 5

SCRIPT_PATH=$(dirname ${BASH_SOURCE[0]})

Expand Down

0 comments on commit 559e729

Please sign in to comment.