Skip to content

Commit 80aa4e0

Browse files
committed
fix publish step
1 parent d4b5f8b commit 80aa4e0

File tree

1 file changed

+12
-7
lines changed

1 file changed

+12
-7
lines changed

.github/workflows/publish.yml

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,15 @@ on:
99

1010
jobs:
1111
publish:
12-
uses: ./.github/workflows/.hatch-run.yml
13-
with:
14-
job-name: "publish"
15-
hatch-run: "publish"
16-
secrets:
17-
pypi-username: ${{ secrets.PYPI_USERNAME }}
18-
pypi-password: ${{ secrets.PYPI_PASSWORD }}
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: actions/checkout@v2
15+
- uses: actions/setup-python@v2
16+
with:
17+
python-version: 3.x
18+
- run: pip install hatch
19+
- run: hatch build
20+
- run: hatch publish
21+
env:
22+
HATCH_INDEX_USER: ${{ secrets.PYPI_USERNAME }}
23+
HATCH_INDEX_AUTH: ${{ secrets.PYPI_PASSWORD }}

0 commit comments

Comments
 (0)