Skip to content

Commit f3bfe7c

Browse files
committed
fix publish workflow
1 parent 67c63ae commit f3bfe7c

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

.github/workflows/publish.yml

+8-6
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ jobs:
1515
runs-on: ubuntu-latest
1616
needs: [build-user-guide, build-frontend]
1717
steps:
18-
- uses: actions/checkout@v3
19-
- uses: actions/setup-python@v4
18+
- uses: actions/checkout@v4
19+
- uses: actions/setup-python@v5
2020
with:
2121
python-version: "3.11"
2222
- uses: actions/download-artifact@v4
@@ -34,7 +34,7 @@ jobs:
3434
cd back
3535
python -m build
3636
- name: Store the distribution packages
37-
uses: actions/upload-artifact@v3
37+
uses: actions/upload-artifact@v4
3838
with:
3939
name: python-package-distributions
4040
path: back/dist/
@@ -54,7 +54,7 @@ jobs:
5454
id-token: write
5555
steps:
5656
- name: Download all the dists
57-
uses: actions/download-artifact@v3
57+
uses: actions/download-artifact@v4
5858
with:
5959
name: python-package-distributions
6060
path: dist/
@@ -74,7 +74,7 @@ jobs:
7474

7575
steps:
7676
- name: Download the dists
77-
uses: actions/download-artifact@v3
77+
uses: actions/download-artifact@v4
7878
with:
7979
name: python-package-distributions
8080
path: dist/
@@ -100,9 +100,11 @@ jobs:
100100

101101
steps:
102102
- name: Download all the dists
103-
uses: actions/download-artifact@v3
103+
uses: actions/download-artifact@v4
104104
with:
105105
name: python-package-distributions
106106
path: dist/
107107
- name: Publish distribution 📦 to PyPI
108108
uses: pypa/gh-action-pypi-publish@release/v1
109+
with:
110+
repository-url: https://test.pypi.org/legacy/

0 commit comments

Comments
 (0)