Skip to content

Commit

Permalink
Fixed 2 workflow typos
Browse files Browse the repository at this point in the history
  • Loading branch information
tomakehurst committed Jul 9, 2024
1 parent cd64eb7 commit c42812a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/generate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,13 @@ jobs:

- name: Generate Typescript SDK
run: |
apimatic auth:login --auth-key={{ secrets.APIMATIC_AUTH_KEY }}
apimatic auth:login --auth-key=${{ secrets.APIMATIC_AUTH_KEY }}
apimatic sdk:generate --destination=sdks/ts --platform TYPESCRIPT --file=openapi.yaml
- name: Set publishing coordiates
working-directory: ./sdks/ts/openapi_sdk_typescript
run: |
echo '{ "version": "1.0.{{ github.run_number }}", "name": "@wiremock-inc/apimatic-sdkgen-demo", "repository": "github:wiremock-inc/apimatic-sdkgen-demo" }' > package-patch.json
echo '{ "version": "1.0.${{ github.run_number }}", "name": "@wiremock-inc/apimatic-sdkgen-demo", "repository": "github:wiremock-inc/apimatic-sdkgen-demo" }' > package-patch.json
jq -r -s '.[0] * .[1]' package.json package-patch.json > tmp.json
mv -f tmp.json package.json
Expand Down

0 comments on commit c42812a

Please sign in to comment.