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 58416b9 commit 8ac46c4
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 5 deletions.
17 changes: 14 additions & 3 deletions .github/workflows/temp_ci_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,22 @@ jobs:
with:
fetch-depth: 0 # OR "2" -> To retrieve the preceding commit.

- name: sanity check
- name: sanity check 1
id: changed-files
uses: tj-actions/changed-files@v42
env:
CHANGED_MODULES: ${{ env.CHANGED_MODULES }} 1
with:
since_last_remote_commit: false
run:
echo $CHANGED_MODULES

- name: sanity check 2
id: changed-files2
env:
CHANGED_MODULES: ${{ env.CHANGED_MODULES }} 2
run:
echo $CHANGED_MODULES

- name: Find changed files inside action folder
id: changed-files-action
Expand All @@ -41,15 +52,15 @@ jobs:

- name: Update CHANGED_MODULES for action
if: steps.changed-files-action.outputs.any_changed == 'true'
env:

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'
run: |
echo "Detected interfacing changes"
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 @@
5
3
2 changes: 1 addition & 1 deletion src/interfacing/test2.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1
2

0 comments on commit 8ac46c4

Please sign in to comment.