diff --git a/action.yml b/action.yml index b3aab1e..73876d5 100644 --- a/action.yml +++ b/action.yml @@ -31,8 +31,8 @@ outputs: runs: using: "composite" - # env: - # PYTHONPATH: $PYTHONPATH:${{ gitea.action_path }} + env: + PYTHONPATH: ${{ gitea.action_path }} steps: - run: env - run: pwd @@ -43,12 +43,12 @@ runs: # - run: git clone ${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY} ${PWD} # - run: ls -la - run: ${{ github.action_path }}/execute.py ${{ github.token }} - - run: | - echo "${{ github.action_path }}" - echo "$PYTHONPATH" - export PYTHONPATH=${{ gitea.action_path }}:$PYTHONPATH - echo "$PYTHONPATH" - - run: export PYTHONPATH=${{ gitea.action_path }}:$PYTHONPATH + # - run: | + # echo "${{ github.action_path }}" + # echo "$PYTHONPATH" + # export PYTHONPATH=${{ gitea.action_path }}:$PYTHONPATH + # echo "$PYTHONPATH" + # - run: export PYTHONPATH=${{ gitea.action_path }}:$PYTHONPATH - run: env - run: python -m executor git # main: execute.py