This commit is contained in:
16
action.yml
16
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
|
||||
|
||||
Reference in New Issue
Block a user