Skip to content

Commit

Permalink
Don't delete the bin folder of the python sdk
Browse files Browse the repository at this point in the history
that's the good stuff that contains the sdk
  • Loading branch information
pierskarsenbarg committed Aug 6, 2024
1 parent 03b6510 commit 687906b
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 2 deletions.
38 changes: 37 additions & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -152,4 +152,40 @@ jobs:
args: release --clean --timeout 60m0s
version: latest
strategy:
fail-fast: true
fail-fast: true
# publish_sdks:
# runs-on: ubuntu-latest
# needs: publish_provider
# strategy:
# fail-fast: true
# matrix:
# language:
# - nodejs
# - python
# - dotnet
# steps:
# - if: matrix.language == 'nodejs'
# name: Setup Node
# uses: actions/setup-node@v4
# with:
# node-version: ${{env.NODEJS_VERSION}}
# - if: matrix.language == 'dotnet'
# name: Setup DotNet
# uses: actions/setup-dotnet@v4
# with:
# dotnet-version: ${{env.DOTNET_VERSION}}
# - if: matrix.language == 'python'
# name: Setup Python
# uses: actions/setup-python@v5
# with:
# python-version: ${{env.PYTHON_VERSION}}
# - name: Download provider binaries
# uses: actions/download-artifact@v4
# with:
# name: ${{ env.PROVIDER }}-provider.tar.gz
# path: ${{ github.workspace }}/bin
# - if: matrix.language == 'python'
# name: Publish PyPI
# uses: pypa/gh-action-pypi-publish@release/v1
# with:
# packages_dir: ${{github.workspace}}/sdk/python/bin/dist
2 changes: 1 addition & 1 deletion taskfile.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ tasks:
./venv/bin/python -m pip install build && \
cd ./bin && \
../venv/bin/python -m build .
- rm -rf {{.TMPDIR}}/python/venv {{.TMPDIR}}/python/bin
- rm -rf {{.TMPDIR}}/python/venv
- mv -f {{.TMPDIR}}/python {{.SDK_DIR}}/python
vars:
PYTHON_VERSION:
Expand Down

0 comments on commit 687906b

Please sign in to comment.