File tree Expand file tree Collapse file tree 2 files changed +19
-1
lines changed
Expand file tree Collapse file tree 2 files changed +19
-1
lines changed Original file line number Diff line number Diff line change 4141 with :
4242 name : onepassword-sdk-${{ env.SDK_VERSION }}-${{ matrix.os }}
4343 path : ./wheelhouse/*.whl
44+
45+ build-sdist :
46+ name : Build source distribution for Python SDK
47+ runs-on : ubuntu-latest
48+ needs : build_wheels
49+ steps :
50+ # Need to grab the SDK version for the wheel name
51+ - name : Extract SDK Version
52+ run : echo "SDK_VERSION=$(python -c 'import version; print(version.SDK_VERSION)')" >> $GITHUB_ENV
53+
54+ - uses : actions/checkout@v4
55+ - name : Build source distribution
56+ run : python -m build --sdist
57+
58+ - uses : actions/upload-artifact@v4
59+ with :
60+ name : onepassword-sdk-${{ env.SDK_VERSION }}
61+ path : ./wheelhouse/*.tar.gz
Original file line number Diff line number Diff line change @@ -375,4 +375,4 @@ async def create_attach_and_delete_file_field_item(client: Client):
375375
376376
377377if __name__ == "__main__" :
378- asyncio .run (main ())
378+ asyncio .run (main ())
You can’t perform that action at this time.
0 commit comments