Skip to content

Commit ec7d6ea

Browse files
author
Joao Felipe Rocha
committed
Correcting deploy action on github
1 parent f20a224 commit ec7d6ea

File tree

1 file changed

+8
-10
lines changed

1 file changed

+8
-10
lines changed

.github/workflows/deploy.yml

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -22,18 +22,16 @@ jobs:
2222
python-version: '3.12'
2323

2424
- name: Install pypa/build
25-
run: >-
25+
run: |
26+
cd Python
2627
python -m pip install build --user
27-
28+
cd ..
2829
2930
- name: Build a binary wheel and a source tarball
30-
run: >-
31-
python -m
32-
build
33-
--sdist
34-
--wheel
35-
--outdir dist/
36-
.
31+
run: |
32+
cd Python
33+
python -m build --sdist --wheel --outdir ../dist/ .
34+
cd ..
3735
3836
# - name: Publish distribution 📦 to Test PyPI
3937
# uses: pypa/gh-action-pypi-publish@master
@@ -44,7 +42,7 @@ jobs:
4442

4543
- name: Publish distribution 📦 to PyPI
4644
if: startsWith(github.ref, 'refs/tags')
47-
uses: pypa/gh-action-pypi-publish@release/v1
45+
uses: pypa/gh-action-pypi-publish@master
4846
with:
4947
skip_existing: true
5048
password: ${{ secrets.pypi_password }}

0 commit comments

Comments
 (0)