Skip to content

Commit 06a88bb

Browse files
committed
added mising cd command
1 parent b079084 commit 06a88bb

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/generate_api.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,16 +45,17 @@ jobs:
4545
run: |
4646
cd external-repo/Software
4747
npx @openapitools/openapi-generator-cli --custom-generator MATLAB/lib/jar/MATLABClientCodegen-openapi-generator-0.0.1.jar generate -g MATLAB -i https://api.macrobondfinancial.com/swagger/v1/swagger.json -o MacrobondMATLABAPI --package-name MacrobondMATLABAPI
48+
cp -r external-repo/Software/MacrobondMATLABAPI/* current-repo/
4849
4950
- name: Configure Git
50-
run: |
51-
cp -r external-repo/Software/MacrobondMATLABAPI/* current-repo/
51+
run: |
5252
cd current-repo
5353
git config --global user.name "github-actions[bot]"
5454
git config --global user.email "github-actions[bot]@users.noreply.github.com"
5555
5656
- name: Commit and Push changes
5757
run: |
58+
cd current-repo
5859
git add .
5960
git commit -m "Update generated MATLAB API"
6061
git push origin main

0 commit comments

Comments
 (0)