File tree Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -13,10 +13,16 @@ jobs:
1313 runs-on : ubuntu-latest
1414
1515 steps :
16+ - name : Checkout code
17+ uses : actions/checkout@v4
18+ with :
19+ path : ' current-repo'
20+
1621 - name : Checkout code
1722 uses : actions/checkout@v4
1823 with :
1924 repository : ' mathworks-ref-arch/matlab-openapi-generator'
25+ path : ' external-repo'
2026
2127 - name : Set up Node.js
2228 uses : actions/setup-node@v4
@@ -32,16 +38,18 @@ jobs:
3238
3339 - name : Run Maven Package
3440 run : |
35- cd Software/Java
41+ cd external-repo/ Software/Java
3642 mvn -q clean package
3743
3844 - name :
3945 run : |
40- cd Software
46+ cd external-repo/ Software
4147 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
4248
4349 - name : Configure Git
4450 run : |
51+ cp -r external-repo/Software/MacrobondMATLABAPI/* current-repo/
52+ cd current-repo
4553 git config --global user.name "github-actions[bot]"
4654 git config --global user.email "github-actions[bot]@users.noreply.github.com"
4755
You can’t perform that action at this time.
0 commit comments