Skip to content

Commit

Permalink
x
Browse files Browse the repository at this point in the history
  • Loading branch information
gavinmcfarland committed Dec 10, 2024
1 parent 0304456 commit 2571aba
Showing 1 changed file with 8 additions and 13 deletions.
21 changes: 8 additions & 13 deletions .github/workflows/run-create-plugma-2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,21 +34,16 @@ jobs:
run: |
expect <<EOF
log_user 1
set timeout 50
set timeout 20
spawn npx create-plugma
set step 0
expect {
"Select a framework:" {
send "\r"
}
}
expect {
"Select a variant:" {
send "\r"
}
}
expect {
"Project name:" {
send "TestProject\r"
-re . {
incr step
if {$step == 1} { send "\r" } # Select default for first prompt
if {$step == 2} { send "\r" } # Select default for second prompt
if {$step == 3} { send "TestProject\r" } # Send project name for third prompt
exp_continue
}
}
expect eof
Expand Down

0 comments on commit 2571aba

Please sign in to comment.