Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,17 +95,18 @@ runs:
enable-cache: true
cache-dependency-glob: "**/uv.lock"

- run: echo ${{ github.action_path }}
- name: 📁 Working directory
run: cd ${{github.action_path}}
shell: bash

- name: 💿 Install python
uses: actions/setup-python@v5
with:
python-version-file: "${{ github.action_path }}/pyproject.toml"
python-version-file: "pyproject.toml"

- name: 🦺 Install python packages
shell: bash
run: uv sync --all-extras --dev --directory '${{ github.action_path }}'
run: uv sync --all-extras --dev

- name: 🤖 Run
id: summary
Expand All @@ -118,7 +119,7 @@ runs:
if [ ! -z "${{ inputs.file }}" ] && [ -f "${{ inputs.file }}" ]; then
export DATA=$(cat "${{ inputs.file }}")
fi
uv run ${{ github.action_path }}/src/main.py
uv run src/main.py
shell: bash
env:
OPENAI_KEY: ${{ inputs.openAiKey }}
Expand Down