Skip to content

Commit a85f892

Browse files
committed
Update workflow to use Radiant-Wrapper instead of Radiant-Compiler
Replaced all references from `radiant-compiler` to `radiant-wrapper` in the workflow file for consistency with package updates. Adjusted related commands and import statements to reflect the change, ensuring proper function execution.
1 parent 2325419 commit a85f892

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

.github/workflows/radiant_wrapper.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ jobs:
1313
uses: actions/checkout@v4
1414
# Clones the repository code into the workflow environment
1515

16-
- name: Install Radiant-Compiler
16+
- name: Install Radiant-Wrapper
1717
run: |
18-
# Installs the Radiant-Compiler package for building Android apps
19-
pip install radiant-compiler
18+
# Installs the Radiant-Wrapper package for building Android apps
19+
pip install radiant-wrapper
2020
2121
- name: Execute Command in Docker Container
2222
run: |
@@ -27,7 +27,7 @@ jobs:
2727
DIST_NAME=$(grep -E '^--dist_name ' .p4a | awk '{print $2}')
2828
2929
# Handle Radiant Framework
30-
if [ -f "main.py" ] && grep -q "radiant.compiler" main.py; then
30+
if [ -f "main.py" ] && grep -q "radiant.wrapper" main.py; then
3131
pip download --no-deps radiant-framework
3232
unzip radiant_framework*.whl "radiant/*" -d .
3333
fi
@@ -36,10 +36,10 @@ jobs:
3636
if [ -f "$DIST_NAME/manage.py" ]; then
3737
pip download --no-deps django
3838
unzip django*.whl "django/*" -d .
39-
pip download --no-deps radiant-compiler
40-
unzip radiant_compiler*.whl "radiant/*" -d .
39+
pip download --no-deps radiant-wrapper
40+
unzip radiant_wrapper*.whl "radiant/*" -d .
4141
echo '
42-
from radiant.compiler import server
42+
from radiant.wrapper import server
4343
with open(".p4a", "r", encoding="utf-8") as f:
4444
for line in f:
4545
if line.strip().startswith("--port"):

0 commit comments

Comments
 (0)