Skip to content

Commit a694096

Browse files
committed
Fix and speed up publishing
- no need to install deps to build - cache is useless - fix run
1 parent d78e260 commit a694096

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/python-publish.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,16 +15,16 @@ jobs:
1515
steps:
1616
- uses: actions/checkout@v4
1717

18+
- name: Install the latest version of rye
19+
uses: eifinger/setup-rye@v4.2.2
20+
1821
- name: Set up Python
1922
uses: actions/setup-python@v5.1.1
2023
with:
2124
python-version: "3.x"
2225

23-
- name: Install dependencies
24-
run: rye sync
25-
2626
- name: Build package
2727
run: rye build
2828

2929
- name: Publish package
30-
uses: rye publish --token "${{ secrets.PYPI_API_TOKEN }}" --yes
30+
run: rye publish --token "${{ secrets.PYPI_API_TOKEN }}" --yes

0 commit comments

Comments
 (0)