Skip to content

Commit 98e244a

Browse files
Bump actions/upload-artifact from 3 to 4 (#55)
* Bump actions/upload-artifact from 3 to 4 Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 3 to 4. - [Release notes](https://github.com/actions/upload-artifact/releases) - [Commits](actions/upload-artifact@v3...v4) --- updated-dependencies: - dependency-name: actions/upload-artifact dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> * Update python-test.yml * Update python-test.yml * Update python-test.yml * Update python-test.yml * Update python-test.yml --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Peter Shen <[email protected]>
1 parent 1cab348 commit 98e244a

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

.github/workflows/python-test.yml

+13-13
Original file line numberDiff line numberDiff line change
@@ -47,14 +47,14 @@ jobs:
4747
files: ./coverage.xml
4848
verbose: true # optional (default = false)
4949

50-
- name: build wheel
50+
- name: Build wheel
5151
run: python -m pip wheel -w dist .
5252

53-
- name: upload wheel as artifact
54-
uses: actions/upload-artifact@v3
53+
- name: Upload wheel as artifact
54+
uses: actions/upload-artifact@v4
5555
with:
56-
name: "clang-tools-pip_wheel"
57-
path: ${{ github.workspace }}/dist/*.whl
56+
name: clang-tools-pip_wheel
57+
path: dist/*.whl
5858

5959
install:
6060
needs: [build]
@@ -65,16 +65,16 @@ jobs:
6565
fail-fast: false
6666
runs-on: ${{ matrix.os }}
6767
steps:
68-
- name: Set up Python 3.8
68+
- name: Set up Python 3.10
6969
uses: actions/setup-python@v5
7070
with:
71-
python-version: "3.8"
71+
python-version: "3.10"
7272

73-
- name: download wheel artifact
74-
uses: actions/download-artifact@v3
73+
- name: Download wheel artifact
74+
uses: actions/download-artifact@v4
7575
with:
7676
name: clang-tools-pip_wheel
77-
path: dist
77+
path: dist/
7878

7979
- name: Install pkg from wheel
8080
# using a wildcard as filename on Windows requires a bash shell
@@ -144,12 +144,12 @@ jobs:
144144
run: sphinx-build -E -W -b html . _build/html
145145

146146
- name: Save built docs as artifact
147-
uses: actions/upload-artifact@v3
147+
uses: actions/upload-artifact@v4
148148
with:
149149
name: "clang-tools-pip_docs"
150-
path: ${{ github.workspace }}/docs/_build/html
150+
path: docs/_build/html
151151

152-
- name: upload to github pages
152+
- name: Upload to github pages
153153
# only publish doc changes from main branch
154154
if: github.event_name != 'pull_request' && github.ref == 'refs/heads/main'
155155
uses: peaceiris/actions-gh-pages@v3

0 commit comments

Comments
 (0)