Skip to content

Commit

Permalink
testing output variables
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark Do committed Feb 7, 2024
1 parent ba1d2bd commit 459db52
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/temp_ci_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
name: Get changed files

outputs:
modified_modules: ${{ steps.report-changes.outputs.modified_modules }}
modified_modules: ${{ steps.report-changes.outputs.CHANGED_MODULES }}

steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -101,10 +101,11 @@ jobs:
modified_modules: ${{ env.CHANGED_MODULES }}
run: |
echo "CHANGED_MODULES: ${{ env.CHANGED_MODULES }}"
echo "CHANGED_MODULES=$CHANGED_MODULES" >> $GITHUB_ENV
- name: Sanity check
run: |
echo 1 ${{ steps.report-changes.outputs.modified_modules }}
echo 1 ${{ steps.report-changes.outputs.CHANGED_MODULES }}
echo 2 ${{ env.CHANGED_MODULES }}
setup-environment:
Expand Down
2 changes: 1 addition & 1 deletion src/action/test.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1
3

0 comments on commit 459db52

Please sign in to comment.