Repository navigation
Expand file tree
/
Copy pathaction.yml
More file actions
68 lines (63 loc) · 1.81 KB
/
Copy pathaction.yml
File metadata and controls
68 lines (63 loc) · 1.81 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
name: AutoTweaker
description: Run an AutoTweaker agent autonomously on a GitHub Actions runner
branding:
icon: cpu
color: blue
inputs:
prompt:
description: Task the agent should complete.
required: true
api-key:
description: API key of the LLM provider.
required: true
provider-type:
description: LLM provider type, such as deepseek.
required: true
model-id:
description: Model id to use, such as deepseek-flash.
required: true
reasoning:
description: 'Reasoning effort: none, minimal, low, medium, high, or xhigh.'
required: false
default: ''
base-url:
description: Base URL of the provider.
required: false
default: ''
workspace:
description: Directory the agent works in.
required: false
default: ''
plugin-urls:
description: URLs of extra plugin jars, one per line.
required: false
default: ''
runs:
using: composite
steps:
- name: Setup Java
uses: actions/setup-java@v6
with:
distribution: temurin
java-version: '25'
- name: Run AutoTweaker
id: run
shell: bash
env:
INPUT_PROMPT: ${{ inputs.prompt }}
INPUT_API_KEY: ${{ inputs.api-key }}
INPUT_PROVIDER_TYPE: ${{ inputs.provider-type }}
INPUT_MODEL_ID: ${{ inputs.model-id }}
INPUT_REASONING: ${{ inputs.reasoning }}
INPUT_BASE_URL: ${{ inputs.base-url }}
INPUT_WORKSPACE: ${{ inputs.workspace || github.workspace }}
INPUT_PLUGIN_URLS: ${{ inputs.plugin-urls }}
run: bash "${{ github.action_path }}/run.sh"
- name: Upload logs
if: always()
uses: actions/upload-artifact@v7
with:
name: autotweaker-logs
path: ${{ runner.temp }}/autotweaker/home/.config/autotweaker/logs
if-no-files-found: ignore
overwrite: true