Skip to content

Commit

Permalink
[ele][CI] try this again with bash
Browse files Browse the repository at this point in the history
  • Loading branch information
HawkCorrigan committed Jan 9, 2025
1 parent 40cc6b8 commit cc5d387
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
1 change: 0 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -548,7 +548,6 @@ jobs:
UBSAN_OPTIONS: print_stacktrace=1
SIMC_CLI_PATH: ${{ runner.workspace }}/b/ninja/simc
run: ${{ github.workspace }}/generate_apl_modules_ci.sh
shell: sh

- name: Commit code-generated APLs
continue-on-error: true
Expand Down
10 changes: 5 additions & 5 deletions generate_apl_modules_ci.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/usr/bin/env sh
#!/bin/bash

set -e

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

classes_to_generate=(
shaman
)
classes_to_generate=( shaman )

for class in $classes_to_generate; do
for class in "${classes_to_generate[@]}"
do
pushd "engine/class_modules/apl/${class}"
./generate_${class}.sh
popd
Expand Down

0 comments on commit cc5d387

Please sign in to comment.