From e08a31f9342214cce891586caed621254e53334f Mon Sep 17 00:00:00 2001 From: Bryce Thorup Date: Fri, 15 May 2026 10:43:55 -0600 Subject: [PATCH] simplify --- action.yaml | 22 ++-------------------- 1 file changed, 2 insertions(+), 20 deletions(-) diff --git a/action.yaml b/action.yaml index 3955ffa..07e383a 100644 --- a/action.yaml +++ b/action.yaml @@ -14,23 +14,5 @@ inputs: runs: using: "composite" steps: - - name: Update apt - run: apt update - - - name: Install pipx - run: apt install pipx - - - name: Install mpy-cross - run: pipx install mpy-cross - - - name: make "dist" dir - run: mkdir dist - - - name: Compile py files to mpy - run: for f in ./*.py; do pipx run mpy-cross "$f" -o dist/test/$(basename "$f" .py).mpy; done - - - name: Build project - run: source .venv/bin/activate && python -m build - - - name: Publish package - run: source .venv/bin/activate && python -m twine upload --repository repo ./dist/* + - run: $GITHUB_ACTION_PATH/action.sh + shell: bash