Spaces:
Running
Running
change .pypirc path
Browse files
.github/workflows/release.yaml
CHANGED
@@ -87,10 +87,9 @@ jobs:
|
|
87 |
# Step 4: Create .pypirc file
|
88 |
- name: Create .pypirc file
|
89 |
run: |
|
90 |
-
|
91 |
-
echo "
|
92 |
-
echo "
|
93 |
-
echo "password = ${{ secrets.PYPI_API_TOKEN }}" >> ~/.config/pypi/.pypirc
|
94 |
|
95 |
# Step 5: Build and publish package
|
96 |
- name: Build and Publish Package
|
|
|
87 |
# Step 4: Create .pypirc file
|
88 |
- name: Create .pypirc file
|
89 |
run: |
|
90 |
+
echo "[pypi]" > ~/.pypirc
|
91 |
+
echo "username = __token__" >> ~/.pypirc
|
92 |
+
echo "password = ${{ secrets.PYPI_API_TOKEN }}" >> ~/.pypirc
|
|
|
93 |
|
94 |
# Step 5: Build and publish package
|
95 |
- name: Build and Publish Package
|