Skip to content

Commit 89dd09c

Browse files
authored
Merge pull request #9 from python-ellar/fix_publish_ci
Fix: Publish.yaml
2 parents 3edaa83 + 5c8a7a2 commit 89dd09c

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

.github/workflows/publish.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,11 @@ jobs:
1818
run: pip install flit
1919
- name: Install Dependencies
2020
run: make install
21+
- name: Install build dependencies
22+
run: pip install build
23+
- name: Build distribution
24+
run: python -m build
2125
- name: Publish
22-
env:
23-
FLIT_USERNAME: ${{ secrets.FLIT_USERNAME }}
24-
FLIT_PASSWORD: ${{ secrets.FLIT_PASSWORD }}
25-
run: flit publish
26+
uses: pypa/[email protected]
27+
with:
28+
password: ${{ secrets.PYPI_API_TOKEN }}

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
- name: Set up Python
1515
uses: actions/setup-python@v5
1616
with:
17-
python-version: 3.8
17+
python-version: 3.9
1818
- name: Install Flit
1919
run: pip install flit
2020
- name: Install Dependencies

0 commit comments

Comments
 (0)