This repository was archived by the owner on Feb 24, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +13
-13
lines changed Expand file tree Collapse file tree 1 file changed +13
-13
lines changed Original file line number Diff line number Diff line change @@ -29,23 +29,23 @@ jobs:
29
29
uses : actions/checkout@v3
30
30
31
31
- name : Get Changed CSV Files
32
- run : |
33
- #!/bin/bash
32
+ run : |
33
+ #!/bin/bash
34
34
35
- # Get the list of CSV files changed in the last 24 hours
36
- data=$(git log --since="24 hours ago" --name-only --pretty=format: -- '*.csv' | sort | uniq)
35
+ # Get the list of CSV files changed in the last 24 hours
36
+ data=$(git log --since="24 hours ago" --name-only --pretty=format: -- '*.csv' | sort | uniq)
37
37
38
- # Convert the list into a multi-line format
39
- formatted_data=$(echo "$data" | tr ' ' '\n')
38
+ # Convert the list into a multi-line format
39
+ formatted_data=$(echo "$data" | tr ' ' '\n')
40
40
41
- # Export the formatted data variable to the environment
42
- echo "data<<EOF" >> $GITHUB_ENV
43
- echo "$formatted_data" >> $GITHUB_ENV
44
- echo "EOF" >> $GITHUB_ENV
41
+ # Export the formatted data variable to the environment
42
+ echo "data<<EOF" >> $GITHUB_ENV
43
+ echo "$formatted_data" >> $GITHUB_ENV
44
+ echo "EOF" >> $GITHUB_ENV
45
45
46
- # Print the changed CSV files
47
- echo "Changed CSV files in the last 24 hours:"
48
- echo "$formatted_data"
46
+ # Print the changed CSV files
47
+ echo "Changed CSV files in the last 24 hours:"
48
+ echo "$formatted_data"
49
49
50
50
51
51
- name : Install Python Dependencies
You can’t perform that action at this time.
0 commit comments