Skip to content

Commit

Permalink
Update test.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ash17290 authored Aug 21, 2024
1 parent 64d83cf commit 52c140d
Showing 1 changed file with 13 additions and 9 deletions.
22 changes: 13 additions & 9 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,18 @@ on:
- push

jobs:
test:
generate-models:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Generating models from my AsyncAPI document
uses: asyncapi/[email protected] # You can use any version you want
with:
command: generate
filepath: asyncapi.yml
language: typescript
output: generated-models
#"standard step" where repo needs to be checked-out first
- name: Checkout repo
uses: actions/checkout@v2

- name: Generating models from my AsyncAPI document
uses: asyncapi/[email protected] # You can use any version you want
with:
command: generate
filepath: docs/api/async-api.yml
language: golang
parameters: --packageName=models
output: docs/api/generated-models

0 comments on commit 52c140d

Please sign in to comment.