Skip to content

Commit

Permalink
changed txt
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark Do committed Feb 7, 2024
1 parent b44f89e commit 58416b9
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 13 deletions.
18 changes: 7 additions & 11 deletions .github/workflows/temp_ci_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,27 +33,23 @@ jobs:
with:
files: src/action/**

- name: Update CHANGED_MODULES for action
if: steps.changed-files-action.outputs.any_changed == 'true'
env:
CHANGED_MODULES: "${{ env.CHANGED_MODULES }} action"
run: |
echo "Detected action changes"
echo "CHANGED_MODULES: $CHANGED_MODULES"
- name: Get changed files inside interfacing folder
id: changed-files-interfacing
uses: tj-actions/changed-files@v42
with:
files: src/interfacing/**

- name: Update CHANGED_MODULES for action
if: steps.changed-files-action.outputs.any_changed == 'true'
run: |
echo "Detected action changes"
echo "CHANGED_MODULES=$CHANGED_MODULES action" >> "$GITHUB_OUTPUT"
- name: Update CHANGED_MODULES for interfacing
if: steps.changed-files-interfacing.outputs.any_changed == 'true'
env:
CHANGED_MODULES: "${{ env.CHANGED_MODULES }} interfacing"
run: |
echo "Detected interfacing changes"
echo "CHANGED_MODULES: $CHANGED_MODULES"
echo "CHANGED_MODULES=$CHANGED_MODULES interfacing" >> "$GITHUB_OUTPUT"
- name: List all changed files
env:
Expand Down
2 changes: 1 addition & 1 deletion src/action/test.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2
5
2 changes: 1 addition & 1 deletion src/interfacing/test2.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3
1

0 comments on commit 58416b9

Please sign in to comment.