File tree Expand file tree Collapse file tree 2 files changed +35
-10
lines changed
Expand file tree Collapse file tree 2 files changed +35
-10
lines changed Original file line number Diff line number Diff line change 11name : Changes
22outputs :
3- packages :
3+ all :
44 description : changes on all
55 value : ${{ toJSON(steps.changes.outputs) }}
6+ django_agent :
7+ description : changes on django_agent
8+ value : ${{ steps.changes.outputs.django_agent }}
9+ flask_agent :
10+ description : changes on flask_agent
11+ value : ${{ steps.changes.outputs.flask_agent }}
12+ agent_toolkit :
13+ description : changes on agent_toolkit
14+ value : ${{ steps.changes.outputs.agent_toolkit }}
15+ datasource_django :
16+ description : changes on datasource_django
17+ value : ${{ steps.changes.outputs.datasource_django }}
18+ datasource_sqlalchemy :
19+ description : changes on datasource_sqlalchemy
20+ value : ${{ steps.changes.outputs.datasource_sqlalchemy }}
21+ datasource_toolkit :
22+ description : changes on datasource_toolkit
23+ value : ${{ steps.changes.outputs.datasource_toolkit }}
624runs :
725 using : " composite"
826 steps :
Original file line number Diff line number Diff line change 2929 runs-on : ubuntu-latest
3030 outputs :
3131 packages : ${{ steps.changes.outputs.packages }}
32+ django_agent : ${{ steps.changes.outputs.django_agent }}
33+ flask_agent : ${{ steps.changes.outputs.flask_agent }}
34+ agent_toolkit : ${{ steps.changes.outputs.agent_toolkit }}
35+ datasource_django : ${{ steps.changes.outputs.datasource_django }}
36+ datasource_sqlalchemy : ${{ steps.changes.outputs.datasource_sqlalchemy }}
37+ datasource_toolkit : ${{ steps.changes.outputs.datasource_toolkit }}
3238
3339 steps :
3440 - uses : actions/checkout@v4
@@ -52,15 +58,16 @@ jobs:
5258 separator : " /"
5359 maxsplit : -1
5460
55- # - id: package_name
56- # run: "echo package_name=$(echo $PACKAGE | cut -d/ -f 3) >> $GITHUB_OUTPUT"
57- # shell: bash
58- # env:
59- # PACKAGE: ${{ matrix.current_package }}
60- # - run: echo "$OUTPUTS"
61- # shell: bash
62- # env:
63- # OUTPUTS: ${{ steps.package_name.outputs._2 }}
61+ - id : has_change
62+ run : " echo has_change=$(echo $CHANGES | jq .$PACKAGE_NAME) >> $GITHUB_OUTPUT"
63+ shell : bash
64+ env :
65+ PACKAGE_NAME : ${{ matrix.current_package }}
66+ CHANGES : ${{ needs.changes.steps.changes.outputs }}
67+ - run : echo "$OUTPUTS"
68+ shell : bash
69+ env :
70+ OUTPUTS : ${{ steps.has_change.outputs }}
6471 - id : lint
6572 if : needs.changes.steps.changes.outputs.${{ steps.package_name.outputs._2 }} == 'true'
6673 uses : ./.github/actions/linting
You can’t perform that action at this time.
0 commit comments