Skip to content

Commit cb5f8d1

Browse files
authored
point to pypi (#3)
1 parent 7b38ba7 commit cb5f8d1

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/publish.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ jobs:
8484
$packageName = 'moldflow'
8585
8686
try {
87-
$resp = Invoke-WebRequest -Uri "https://test.pypi.org/pypi/$packageName/json" -UseBasicParsing -ErrorAction Stop
87+
$resp = Invoke-WebRequest -Uri "https://pypi.org/pypi/$packageName/json" -UseBasicParsing -ErrorAction Stop
8888
$data = $resp.Content | ConvertFrom-Json
8989
$versions = @($data.releases.PSObject.Properties.Name)
9090
} catch {
@@ -118,9 +118,9 @@ jobs:
118118
if: steps.pypi_check.outputs.exists == 'false'
119119
env:
120120
TWINE_USERNAME: __token__
121-
TWINE_PASSWORD: ${{ secrets.TEST_PYPI_API_TOKEN }}
121+
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
122122
run: |
123-
python run.py publish --skip-build --testpypi
123+
python run.py publish --skip-build
124124
125125
- name: Create GitHub Release
126126
if: steps.pypi_check.outputs.exists == 'false'

0 commit comments

Comments
 (0)