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 9be808d commit 583549c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/trigger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,14 @@ jobs:
files: '**/*.sh'
files_ignore: 'parts/**'
matrix: true
- name: If no changed recipes then execute for the default one
id: set-matrix
run: |
echo "matrix=$(jq -nc '$files | if length == 0 then [\"scripts/default.sh\"] else . end' --argjson files "${{ steps.changed-files.outputs.all_changed_files }}")"
echo "::set-output name=matrix::$matrix"
build:
needs: [ changed-files ]
if: needs.changed-files.outputs.matrix != '[]'
runs-on: ubuntu-latest
strategy:
matrix:
Expand Down

0 comments on commit 583549c

Please # to comment.