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 56be07a commit 3b2efd6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/trigger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@ jobs:
- 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 }}")" >> $GITHUB_OUTPUT
files="${{ steps.changed-files.outputs.all_changed_files }}"
matrix=$(echo "$files" | jq -nc 'if length == 0 then ["scripts/default.sh"] else . end')
echo "matrix=$matrix" >> $GITHUB_OUTPUT
build:
needs: [ changed-files ]
Expand Down

0 comments on commit 3b2efd6

Please # to comment.