Skip to content

Commit

Permalink
test commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Jake-Carter committed Jan 10, 2024
1 parent 37d2738 commit c5a9c2b
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/Build_Examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,10 @@ jobs:
RUN_TEST=1
fi
if [[ $SOURCE_BRANCH == "main" ]]; then
RUN_TEST=1
fi
REPOSITORY=$GITHUB_REPOSITORY
echo "REPOSITORY = $REPOSITORY"
Expand All @@ -59,6 +63,8 @@ jobs:
echo "GITHUB SERVER URL = $GITHUB_SERVER_URL"
echo "GITHUB REPOSITORY = $GITHUB_REPOSITORY"
git remote add upstream $GITHUB_SERVER_URL/$GITHUB_REPOSITORY
# Check for changes made to these files
WATCH_FILES="\
Build_Examples.yml \
Expand All @@ -73,7 +79,9 @@ jobs:
Makefile"
# Get the diff from main
CHANGE_FILES=$(git diff --ignore-submodules --name-only remotes/origin/main)
if [[ -n $TARGET_BRANCH ]]; then
CHANGE_FILES=$(git diff --ignore-submodules --name-only remotes/upstream/$TARGET_BRANCH)
fi
echo "Watching these locations and files"
echo $WATCH_FILES
Expand Down

0 comments on commit c5a9c2b

Please sign in to comment.