From 459db52a8143bb77458c2cf910397ead7876677d Mon Sep 17 00:00:00 2001 From: Mark Do Date: Wed, 7 Feb 2024 22:35:30 +0000 Subject: [PATCH] testing output variables --- .github/workflows/temp_ci_test.yml | 5 +++-- src/action/test.txt | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/temp_ci_test.yml b/.github/workflows/temp_ci_test.yml index 7064e737..01e32b03 100644 --- a/.github/workflows/temp_ci_test.yml +++ b/.github/workflows/temp_ci_test.yml @@ -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 @@ -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: diff --git a/src/action/test.txt b/src/action/test.txt index 56a6051c..e440e5c8 100644 --- a/src/action/test.txt +++ b/src/action/test.txt @@ -1 +1 @@ -1 \ No newline at end of file +3 \ No newline at end of file