Skip to content

Commit

Permalink
fixed step order
Browse files Browse the repository at this point in the history
  • Loading branch information
fybJenkins committed Feb 2, 2024
1 parent b9e917a commit 4bf40ea
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/composite/generate-sdk/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,6 @@ runs:
- name: Install openapi-generator-cli
shell: bash
run: npm install -g @openapitools/openapi-generator-cli
- name: Download spec files
shell: bash
run: wget ${{ inputs.spec-link }} -O ./${{ inputs.package-name }}/${{ inputs.package-name }}.spec.yaml
- name: Cleanup existing files
shell: bash
run: |
Expand All @@ -37,6 +34,9 @@ runs:
echo "Moving version.py file back in..."
mv ./version.py ./${{ inputs.package-name }}/${{ inputs.package-name }}/version.py
- name: Download spec files
shell: bash
run: wget ${{ inputs.spec-link }} -O ./${{ inputs.package-name }}/${{ inputs.package-name }}.spec.yaml
- name: Generate API
shell: bash
run: openapi-generator-cli generate -i ${{ inputs.spec-link }} -c openapi-generator-config.yaml -o=${{ inputs.package-name }} --additional-properties packageName=${{ inputs.package-name }}
Expand Down

0 comments on commit 4bf40ea

Please sign in to comment.