Skip to content

Commit 0c76f43

Browse files
committed
test actions/ai-inference
Signed-off-by: Yavor Georgiev <yavor.georgiev@mongodb.com>
1 parent 3eaa166 commit 0c76f43

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: AI Inference Test
2+
3+
on:
4+
workflow_dispatch:
5+
push:
6+
7+
jobs:
8+
test-ai-inference:
9+
name: Test AI Inference Action
10+
runs-on: ubuntu-latest
11+
permissions:
12+
contents: read
13+
models: read
14+
steps:
15+
- name: Run AI Inference
16+
id: inference
17+
uses: actions/ai-inference@v1
18+
with:
19+
prompt: 'Say "Hello, World!" and nothing else.'
20+
21+
- name: Print Response
22+
run: echo "${{ steps.inference.outputs.response }}"
23+

0 commit comments

Comments
 (0)