@@ -47,14 +47,14 @@ jobs:
47
47
files : ./coverage.xml
48
48
verbose : true # optional (default = false)
49
49
50
- - name : build wheel
50
+ - name : Build wheel
51
51
run : python -m pip wheel -w dist .
52
52
53
- - name : upload wheel as artifact
54
- uses : actions/upload-artifact@v3
53
+ - name : Upload wheel as artifact
54
+ uses : actions/upload-artifact@v4
55
55
with :
56
- name : " clang-tools-pip_wheel"
57
- path : ${{ github.workspace }}/ dist/*.whl
56
+ name : clang-tools-pip_wheel
57
+ path : dist/*.whl
58
58
59
59
install :
60
60
needs : [build]
@@ -65,16 +65,16 @@ jobs:
65
65
fail-fast : false
66
66
runs-on : ${{ matrix.os }}
67
67
steps :
68
- - name : Set up Python 3.8
68
+ - name : Set up Python 3.10
69
69
uses : actions/setup-python@v5
70
70
with :
71
- python-version : " 3.8 "
71
+ python-version : " 3.10 "
72
72
73
- - name : download wheel artifact
74
- uses : actions/download-artifact@v3
73
+ - name : Download wheel artifact
74
+ uses : actions/download-artifact@v4
75
75
with :
76
76
name : clang-tools-pip_wheel
77
- path : dist
77
+ path : dist/
78
78
79
79
- name : Install pkg from wheel
80
80
# using a wildcard as filename on Windows requires a bash shell
@@ -144,12 +144,12 @@ jobs:
144
144
run : sphinx-build -E -W -b html . _build/html
145
145
146
146
- name : Save built docs as artifact
147
- uses : actions/upload-artifact@v3
147
+ uses : actions/upload-artifact@v4
148
148
with :
149
149
name : " clang-tools-pip_docs"
150
- path : ${{ github.workspace }}/ docs/_build/html
150
+ path : docs/_build/html
151
151
152
- - name : upload to github pages
152
+ - name : Upload to github pages
153
153
# only publish doc changes from main branch
154
154
if : github.event_name != 'pull_request' && github.ref == 'refs/heads/main'
155
155
uses : peaceiris/actions-gh-pages@v3
0 commit comments