Skip to content

Commit 9fcc9d5

Browse files
authored
[PTHMINT-60] Rename the project folder in the workflows (#3)
1 parent 76e9a5d commit 9fcc9d5

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

.github/workflows/code-quality.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- name: Checkout master repository
2020
uses: actions/checkout@v4
2121
with:
22-
path: ./multisafepay-python
22+
path: ./python-sdk
2323

2424
- name: Clone MultiSafepay docker python
2525
uses: actions/checkout@v4
@@ -31,8 +31,8 @@ jobs:
3131

3232
- name: Setup submodule
3333
run: |
34-
rm -rf ./docker-python/packages-source/multisafepay/multisafepay-python
35-
mv ./multisafepay-python ./docker-python/packages-source/multisafepay/multisafepay-python
34+
rm -rf ./docker-python/packages-source/multisafepay/python-sdk
35+
mv ./python-sdk ./docker-python/packages-source/multisafepay/python-sdk
3636
3737
- name: Copy environment file
3838
run: cp .env.example .env
@@ -62,6 +62,6 @@ jobs:
6262
uses: codecov/codecov-action@v5
6363
with:
6464
fail_ci_if_error: true
65-
files: ./docker-python/packages-source/multisafepay/multisafepay-python/coverage.xml
65+
files: ./docker-python/packages-source/multisafepay/python-sdk/coverage.xml
6666
token: ${{ secrets.CODECOV_TOKEN }}
6767
verbose: true

.github/workflows/release.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
- name: Checkout main repository
1818
uses: actions/checkout@v4
1919
with:
20-
path: ./multisafepay-python
20+
path: ./python-sdk
2121

2222
- name: Get the version
2323
id: get_version
@@ -33,8 +33,8 @@ jobs:
3333

3434
- name: Setup submodule
3535
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
3838
3939
- name: Copy environment file
4040
run: cp .env.example .env
@@ -55,7 +55,7 @@ jobs:
5555
- name: Publish package to PyPI
5656
uses: pypa/gh-action-pypi-publish@release/v1
5757
with:
58-
packages-dir: ./docker-python/packages-source/multisafepay/multisafepay-python/dist/
58+
packages-dir: ./docker-python/packages-source/multisafepay/python-sdk/dist/
5959

6060
- name: Create Release
6161
id: create_release
@@ -75,7 +75,7 @@ jobs:
7575
GITHUB_TOKEN: ${{ secrets.GLOBAL_GITHUB_TOKEN }}
7676
with:
7777
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
7979
asset_name: multisafepay-${{ env.VERSION }}.tar.gz
8080
asset_content_type: application/zip
8181

@@ -86,6 +86,6 @@ jobs:
8686
GITHUB_TOKEN: ${{ secrets.GLOBAL_GITHUB_TOKEN }}
8787
with:
8888
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
9090
asset_name: multisafepay-${{ env.VERSION }}-py3-none-any.whl
9191
asset_content_type: application/octet-stream

0 commit comments

Comments
 (0)