test: dig into why this isnt running
This commit is contained in:
parent
785e3f7189
commit
3299103050
1 changed files with 2 additions and 0 deletions
|
@ -36,6 +36,8 @@ jobs:
|
|||
branches=()
|
||||
eval "$(git for-each-ref --shell --format='branches+=(%(refname))' refs/remotes/origin/)"
|
||||
for branch in "${branches[@]}"; do
|
||||
# for debugging
|
||||
echo "$branch"
|
||||
# need to convert "'refs/remotes/origin/main" to "main"
|
||||
branch_local=$(echo "$branch" | awk -F'[\\\\/]' ' { print $4 }')
|
||||
git switch $branch_local
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue