From 60ea3fc2d5166a1a3afecee20facf1ca141818ad Mon Sep 17 00:00:00 2001 From: Siddhartha Date: Tue, 26 Nov 2024 21:24:42 -0700 Subject: [PATCH] run package module via __main__ --- entrypoint.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/entrypoint.sh b/entrypoint.sh index 3765867..a4c9919 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -18,7 +18,7 @@ echo $(ls /github/workspace) echo "... done." echo "Running money_in script..." -python -m oldabe.money_in +python -m oldabe.money_in.__main__ echo "... done." # Note that running this locally would cause your global @@ -35,5 +35,5 @@ git push origin `git remote set-head origin -a | cut -d' ' -f4` echo "... done." echo "Running money_out script..." -echo balances=$(python -m oldabe.money_out) >> $GITHUB_OUTPUT +echo balances=$(python -m oldabe.money_out.__main__) >> $GITHUB_OUTPUT echo "... done."