Skip to content

Commit

Permalink
Fix broken python generator type - main build step
Browse files Browse the repository at this point in the history
  • Loading branch information
holgerstolzenberg committed Nov 8, 2024
1 parent 63e34c8 commit cbb2301
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/actions/python-client/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ runs:
using: 'composite'
steps:
# Using https://openapi-generator.tech/docs/generators/python/
- name: Generate Java ${{ matrix.python-version }} client (${{ matrix.java-http-lib }})
- name: Generate Python ${{ matrix.python-version }} client (${{ matrix.python-http-lib }})
uses: openapi-generators/openapitools-generator-action@v1
with:
generator: python
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/main-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -132,10 +132,9 @@ jobs:
run: echo "PYTHON_ARTIFACT_VERSION=${{ needs.prepare.outputs.next-artifact-version }}-${{ matrix.python-version }}-${{ needs.prepare.outputs.spicedb-version }}" >> ${GITHUB_ENV}

- name: "Run python client build / SpiceDB: ${{ env.SPICEDB_VERSION }} / Python: ${{ matrix.python-version}} / HTTP lib: ${{ matrix.python-http-lib }}"
uses: ./.github/actions/java-client
uses: ./.github/actions/python-client
with:
spicedb-version: ${{ needs.prepare.outputs.spicedb-version }}
release-version: ${{ env.PYTHON_ARTIFACT_VERSION }}
snapshot: true # TODO
openapi-spec: ${{ needs.prepare.outputs.spicedb-openapi-url }}
openapi-version: ${{ needs.prepare.outputs.openapi-version }}

0 comments on commit cbb2301

Please sign in to comment.