Skip to content

Commit 5e3c3c8

Browse files
committed
[ele][CI] try this again with bash
1 parent 7c05cfc commit 5e3c3c8

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

.github/workflows/main.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -548,7 +548,6 @@ jobs:
548548
UBSAN_OPTIONS: print_stacktrace=1
549549
SIMC_CLI_PATH: ${{ runner.workspace }}/b/ninja/simc
550550
run: ${{ github.workspace }}/generate_apl_modules_ci.sh
551-
shell: sh
552551

553552
- name: Commit code-generated APLs
554553
continue-on-error: true

generate_apl_modules_ci.sh

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
#!/usr/bin/env sh
1+
#!/bin/bash
2+
23
set -e
34

45
alias py=python3
@@ -10,11 +11,10 @@ if [ "$(pwd)" != "${ROOT}" ]; then
1011
exit 1
1112
fi
1213

13-
classes_to_generate=(
14-
shaman
15-
)
14+
classes_to_generate=( shaman )
1615

17-
for class in $classes_to_generate; do
16+
for class in "${classes_to_generate[@]}"
17+
do
1818
pushd "engine/class_modules/apl/${class}"
1919
./generate_${class}.sh
2020
popd

0 commit comments

Comments
 (0)