Skip to content

Commit

Permalink
ci: fixed generations (#617)
Browse files Browse the repository at this point in the history
  • Loading branch information
emajo authored Feb 14, 2023
1 parent c2178a4 commit afd6f21
Show file tree
Hide file tree
Showing 4 changed files with 1,335 additions and 8 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/generate-ruby.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,6 @@ jobs:
GEM_NAME: "fattureincloud_ruby_sdk"
MODULE_NAME: "FattureInCloud_Ruby_Sdk"
APP_NAME: "FattureInCloud"
MINIMUM_VERSION: "2.4"

run: |
SDK_VERSION=${{ env.sdk_version }}
Expand All @@ -127,7 +126,7 @@ jobs:
USER_AGENT="$APP_NAME/${{ env.sdk_version }}/Ruby-SDK"
openapi-generator-cli generate -i ./openapi.yaml -g ruby -o ./generated/ruby/ -t ./templates/openapi-generator/ruby --git-repo-id=${GIT_REPO_ID} --git-user-id=${GIT_USER_ID} --release-note=${RELEASE_NOTE} --http-user-agent=${USER_AGENT} --additional-properties=gemVersion=${SDK_VERSION},gemAuthor=${GEM_AUTHOR},gemAuthorEmail=${GEM_AUTHOR_EMAIL},gemDescription=${GEM_DESCRIPTION},gemSummary=${GEM_DESCRIPTION},gemHomepage=${GEM_HOMEPAGE},gemLicense=${GEM_LICENSE},gemName=${GEM_NAME},gemSummary=${GEM_SUMMARY},moduleName=${MODULE_NAME},gemRequiredRubyVersion=\>\=${MINIMUM_VERSION}
openapi-generator-cli generate -i ./openapi.yaml -g ruby -o ./generated/ruby/ -t ./templates/openapi-generator/ruby --git-repo-id=${GIT_REPO_ID} --git-user-id=${GIT_USER_ID} --release-note=${RELEASE_NOTE} --http-user-agent=${USER_AGENT} --additional-properties=gemVersion=${SDK_VERSION},gemAuthor=${GEM_AUTHOR},gemAuthorEmail=${GEM_AUTHOR_EMAIL},gemDescription=${GEM_DESCRIPTION},gemSummary=${GEM_DESCRIPTION},gemHomepage=${GEM_HOMEPAGE},gemLicense=${GEM_LICENSE},gemName=${GEM_NAME},gemSummary=${GEM_SUMMARY},moduleName=${MODULE_NAME},gemRequiredRubyVersion=\>\=2.4
- id: move-custom-files-to-repo
Expand Down
6 changes: 0 additions & 6 deletions .github/workflows/generate-typescript-axios.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,12 +58,6 @@ jobs:
cd ../generated/typescript-axios/scripts
yarn
# To remove when the fix is out
# https://github.com/OpenAPITools/openapi-generator/issues/13413
- id: downgrade-openapi-generator
name: Set openapi generator to 6.0.1
run: openapi-generator-cli version-manager set 6.0.1

- id: bump-typescript-sdk-version
name: Bump TypeScript SDK
env:
Expand Down
Loading

0 comments on commit afd6f21

Please sign in to comment.