File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -95,17 +95,18 @@ runs:
9595 enable-cache : true
9696 cache-dependency-glob : " **/uv.lock"
9797
98- - run : echo ${{ github.action_path }}
98+ - name : 📁 Working directory
99+ run : cd ${{github.action_path}}
99100 shell : bash
100101
101102 - name : 💿 Install python
102103 uses : actions/setup-python@v5
103104 with :
104- python-version-file : " ${{ github.action_path }}/ pyproject.toml"
105+ python-version-file : " pyproject.toml"
105106
106107 - name : 🦺 Install python packages
107108 shell : bash
108- run : uv sync --all-extras --dev --directory '${{ github.action_path }}'
109+ run : uv sync --all-extras --dev
109110
110111 - name : 🤖 Run
111112 id : summary
@@ -118,7 +119,7 @@ runs:
118119 if [ ! -z "${{ inputs.file }}" ] && [ -f "${{ inputs.file }}" ]; then
119120 export DATA=$(cat "${{ inputs.file }}")
120121 fi
121- uv run ${{ github.action_path }}/ src/main.py
122+ uv run src/main.py
122123 shell : bash
123124 env :
124125 OPENAI_KEY : ${{ inputs.openAiKey }}
You can’t perform that action at this time.
0 commit comments