|
17 | 17 | - name: Checkout main repository |
18 | 18 | uses: actions/checkout@v4 |
19 | 19 | with: |
20 | | - path: ./multisafepay-python |
| 20 | + path: ./python-sdk |
21 | 21 |
|
22 | 22 | - name: Get the version |
23 | 23 | id: get_version |
|
33 | 33 |
|
34 | 34 | - name: Setup submodule |
35 | 35 | run: | |
36 | | - rm -rf ./docker-python/packages-source/multisafepay/multisafepay-python |
37 | | - mv ./multisafepay-python ./docker-python/packages-source/multisafepay/multisafepay-python |
| 36 | + rm -rf ./docker-python/packages-source/multisafepay/python-sdk |
| 37 | + mv ./python-sdk ./docker-python/packages-source/multisafepay/python-sdk |
38 | 38 |
|
39 | 39 | - name: Copy environment file |
40 | 40 | run: cp .env.example .env |
|
55 | 55 | - name: Publish package to PyPI |
56 | 56 | uses: pypa/gh-action-pypi-publish@release/v1 |
57 | 57 | with: |
58 | | - packages-dir: ./docker-python/packages-source/multisafepay/multisafepay-python/dist/ |
| 58 | + packages-dir: ./docker-python/packages-source/multisafepay/python-sdk/dist/ |
59 | 59 |
|
60 | 60 | - name: Create Release |
61 | 61 | id: create_release |
|
75 | 75 | GITHUB_TOKEN: ${{ secrets.GLOBAL_GITHUB_TOKEN }} |
76 | 76 | with: |
77 | 77 | upload_url: ${{ steps.create_release.outputs.upload_url }} |
78 | | - asset_path: ./docker-python/packages-source/multisafepay/multisafepay-python/dist/multisafepay-${{ env.VERSION }}.tar.gz |
| 78 | + asset_path: ./docker-python/packages-source/multisafepay/python-sdk/dist/multisafepay-${{ env.VERSION }}.tar.gz |
79 | 79 | asset_name: multisafepay-${{ env.VERSION }}.tar.gz |
80 | 80 | asset_content_type: application/zip |
81 | 81 |
|
|
86 | 86 | GITHUB_TOKEN: ${{ secrets.GLOBAL_GITHUB_TOKEN }} |
87 | 87 | with: |
88 | 88 | upload_url: ${{ steps.create_release.outputs.upload_url }} |
89 | | - asset_path: ./docker-python/packages-source/multisafepay/multisafepay-python/dist/multisafepay-${{ env.VERSION }}-py3-none-any.whl |
| 89 | + asset_path: ./docker-python/packages-source/multisafepay/python-sdk/dist/multisafepay-${{ env.VERSION }}-py3-none-any.whl |
90 | 90 | asset_name: multisafepay-${{ env.VERSION }}-py3-none-any.whl |
91 | 91 | asset_content_type: application/octet-stream |
0 commit comments