Skip to content

Commit

Permalink
Update generate_files.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Ginxo committed Jan 26, 2021
1 parent 0f541a1 commit 12f8b82
Showing 1 changed file with 18 additions and 5 deletions.
23 changes: 18 additions & 5 deletions .github/workflows/generate_files.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,24 @@ on:
paths:
- '.ci/**'


env:
jobId: ${GITHUB_RUN_ID}-${GITHUB_RUN_NUMBER}

jobs:
build-chain:
runs-on: ubuntu-latest
name: File Generation
steps:
- id: file_changes
uses: trilom/file-changes-action@v1.2.3
- id: build_chain_files
run: |
files_array=()
for changed_file in ${{ steps.file_changes.outputs.files_modified }}; do
files_array+=("${changed_file}")
done
echo "::set-output name=files::${files_array[@]}"
- uses: actions/checkout@v2
- name: Image Generation
uses: kiegroup/build-chain-files-generator@main
Expand Down Expand Up @@ -55,13 +68,13 @@ jobs:
signoff: false
branch: ${{ env.BRANCH_NAME_FLOW }}
delete-branch: true
title: '[Build Chain] Update CI files'
title: '[Build Chain] Update build chain and repository-list files.'
body: |
Update report
- ./docs/project-dependencies-hierarchy.png
- ./script/repository-list.txt
- ./script/branched-7-repository-list.txt
reviewers: mbiarnes,ginxo
${{ steps.build_chain_files.outputs.files }}
Commit id: #$(git rev-parse --short "$GITHUB_SHA")
Job ID: ${{ env.jobId }}
reviewers: mbiarnes,ginxo,mareknovotny
draft: false
- name: Check outputs
run: |
Expand Down

0 comments on commit 12f8b82

Please sign in to comment.