From 1a66a5968c8c0f8d5a346af788ddfd1f24a9d8bc Mon Sep 17 00:00:00 2001 From: Sean Goedecke Date: Tue, 8 Apr 2025 12:00:25 +1000 Subject: [PATCH] Update README.md --- README.md | 26 +++++++++++++++++--------- 1 file changed, 17 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index c8a3758..79bf6d1 100644 --- a/README.md +++ b/README.md @@ -14,16 +14,24 @@ your actions. Create a workflow to use the AI inference action: ```yaml -steps: - - name: Test Local Action - id: inference - uses: actions/ai-inference@v1 - with: - prompt: 'Hello!' +name: "AI inference" +on: workflow_dispatch - - name: Print Output - id: output - run: echo "${{ steps.test-action.outputs.response }}" +jobs: + inference: + permissions: + models: read + runs-on: ubuntu-latest + steps: + - name: Test Local Action + id: inference + uses: actions/ai-inference@v1 + with: + prompt: 'Hello!' + + - name: Print Output + id: output + run: echo "${{ steps.inference.outputs.response }}" ``` ## Inputs