Skip to content

Commit

Permalink
Test
Browse files Browse the repository at this point in the history
  • Loading branch information
EduMenges committed Nov 9, 2024
1 parent 4661a7c commit a1b9868
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions .github/workflows/build-targets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -149,11 +149,20 @@ jobs:
declare -A target_shas
declare -A target_build_directories
echo Detecting targets
while IFS=':' read -r file src_dir; do
target="${file%-source_dirinfo.txt}"
target="${target##*/}"
if [[ ${{matrix.target == 'Windows'}} ]]; then
target="${file%-source_dirinfo.txt}"
target="${target##*\}"
else
target="${file%-source_dirinfo.txt}"
target="${target##*/}"
fi
echo $target $src_dir
sha=$(git -C "$src_dir" rev-parse HEAD)
sha=$(git -C "${src_dir}" rev-parse HEAD)
target_shas[$target]=$sha
build_directory="${file%%*/}"
Expand Down

0 comments on commit a1b9868

Please sign in to comment.