File tree Expand file tree Collapse file tree 2 files changed +25
-0
lines changed Expand file tree Collapse file tree 2 files changed +25
-0
lines changed Original file line number Diff line number Diff line change
1
+ # /bin/bash -eu
2
+
3
+ SRC_DIR=$( cd $( dirname ${BASH_SOURCE:- $0 } ) /../../; pwd)
4
+ echo " Run sync script in $SRC_DIR "
5
+ rsync -av --delete $SRC_DIR /MobileRobotUITutorialProject/Assets/Scripts/ $SRC_DIR /UnityScripts/Scripts
6
+ rsync -av --delete $SRC_DIR /MobileRobotUITutorialProject/Assets/OdometryViewer/ $SRC_DIR /UnityScripts/OdometryViewer
7
+ rsync -av --delete $SRC_DIR /MobileRobotUITutorialProject/Assets/PointCloud/ $SRC_DIR /UnityScripts/PointCloud
Original file line number Diff line number Diff line change
1
+ name : Check for the tutorial update
2
+
3
+ on :
4
+ pull_request :
5
+ paths :
6
+ - " MobileRobotUITutorialProject/**"
7
+ - " UnityScripts/**"
8
+
9
+ jobs :
10
+ check-tutorial-files :
11
+ runs-on : ubuntu-latest
12
+ steps :
13
+ - uses : actions/checkout@v3
14
+
15
+ - name : File sync
16
+ run : |
17
+ ./.github/scripts/sync_scripts.sh
18
+ git status | grep "working tree clean" && exit 0 || git status; exit 1;
You can’t perform that action at this time.
0 commit comments