From a1f614d7a79210c6908b552d861b0c132cdeed1c Mon Sep 17 00:00:00 2001 From: ZQ Date: Fri, 2 Jun 2023 05:44:36 +0800 Subject: [PATCH] Fix bugs --- action.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/action.yml b/action.yml index 0854413..2b9f473 100644 --- a/action.yml +++ b/action.yml @@ -29,18 +29,19 @@ runs: python-version: '3.11' - name: Install dependencies - run: pip install -r requirements.txt + run: pip install -r ${{ github.action_path }}/requirements.txt shell: bash + - name: Checkout code + uses: actions/checkout@v3.5.2 + - name: Run script env: GIT_SECRET: ${{ inputs.secret }} GIT_TARGET_REPO: ${{ inputs.repo || env.GITHUB_REPOSITORY }} DIGEST_SAVE_DIR: ${{ inputs.save }} run: | - python app.py - ls -la - ls .github/ + python ${{ github.action_path }}/app.py shell: bash - name: Push changes if there are changes to the data file