File tree Expand file tree Collapse file tree 2 files changed +8
-16
lines changed
Expand file tree Collapse file tree 2 files changed +8
-16
lines changed Original file line number Diff line number Diff line change 3939 -o generated/ \
4040 --skip-validate-spec \
4141 --git-repo-id api-wrapper-codegen-php \
42- --git-user-id BuiltByBit \
43- --additional-properties="packageName=YourApiClient"
42+ --git-user-id BuiltByBit \
43+ --package-name builtbybit/api-wrapper-codegen-php
4444
4545 - name : Copy generated files
4646 run : |
6161 git config --local user.email "action@github.com"
6262 git config --local user.name "GitHub Action"
6363 git add .
64+ git reset .gitignore
6465 git commit -m "Auto-generate wrapper from updated spec" || exit 0
6566 git push # Uses GITHUB_TOKEN automatically
Original file line number Diff line number Diff line change 1- # ref: https://github.com/github/gitignore/blob/master/Composer.gitignore
1+ # OpenAPI Generator
2+ openapi-generator-cli * .jar
3+ spec.yaml
24
3- composer.phar
4- /vendor /
5-
6- # Commit your application's lock file https://getcomposer.org/doc/01-basic-usage.md#commit-your-composer-lock-file-to-version-control
7- # You may choose to ignore a library lock file http://getcomposer.org/doc/02-libraries.md#lock-file
8- # composer.lock
9-
10- # php-cs-fixer cache
11- .php_cs.cache
12- .php-cs-fixer.cache
13-
14- # PHPUnit cache
15- .phpunit.result.cache
5+ # Generated build artifacts
6+ .openapi-generator /
You can’t perform that action at this time.
0 commit comments