cyrusyc commited on
Commit
2449c37
1 Parent(s): e0bda3b

change .pypirc path

Browse files
Files changed (1) hide show
  1. .github/workflows/release.yaml +3 -4
.github/workflows/release.yaml CHANGED
@@ -87,10 +87,9 @@ jobs:
87
  # Step 4: Create .pypirc file
88
  - name: Create .pypirc file
89
  run: |
90
- mkdir -p ~/.config/pypi
91
- echo "[pypi]" > ~/.config/pypi/.pypirc
92
- echo "username = __token__" >> ~/.config/pypi/.pypirc
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