Skip to content

Commit 2f43c33

Browse files
committed
fix(ci): Update GitHub Actions to v4 to resolve deprecation warnings
1 parent ff7c764 commit 2f43c33

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.github/workflows/build_wheels.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
runs-on: ubuntu-latest
1919

2020
steps:
21-
- uses: actions/checkout@v3
21+
- uses: actions/checkout@v4
2222

2323
- name: Build
2424
run: |
@@ -32,7 +32,7 @@ jobs:
3232
cd build
3333
ctest --no-tests=error --output-on-failure
3434
35-
- uses: actions/upload-artifact@v3
35+
- uses: actions/upload-artifact@v4
3636
with:
3737
name: executable
3838
path: ./build/executable/dbscan
@@ -70,7 +70,7 @@ jobs:
7070
os: ${{ fromJson(needs.generate_matrix.outputs.OSES) }}
7171

7272
steps:
73-
- uses: actions/checkout@v3
73+
- uses: actions/checkout@v4
7474
with:
7575
fetch-depth: 0
7676

@@ -89,7 +89,7 @@ jobs:
8989
CIBW_TEST_EXTRAS: "py36"
9090
CIBW_TEST_COMMAND: "pytest {package}/test"
9191

92-
- uses: actions/upload-artifact@v3
92+
- uses: actions/upload-artifact@v4
9393
with:
9494
name: wheels
9595
path: ./wheelhouse/*.whl
@@ -99,14 +99,14 @@ jobs:
9999
runs-on: ubuntu-latest
100100
if: startsWith(github.ref, 'refs/tags/v')
101101
steps:
102-
- uses: actions/checkout@v3
102+
- uses: actions/checkout@v4
103103
with:
104104
fetch-depth: 0
105105

106106
- name: Build sdist
107107
run: pipx run build --sdist
108108

109-
- uses: actions/upload-artifact@v3
109+
- uses: actions/upload-artifact@v4
110110
with:
111111
name: wheels
112112
path: dist/*.tar.gz
@@ -119,7 +119,7 @@ jobs:
119119
# alternatively, to publish when a GitHub Release is created, use the following rule:
120120
# if: github.event_name == 'release' && github.event.action == 'published'
121121
steps:
122-
- uses: actions/download-artifact@v3
122+
- uses: actions/download-artifact@v4
123123
with:
124124
# unpacks default artifact into dist/
125125
# if `name: artifact` is omitted, the action will create extra parent dir

0 commit comments

Comments
 (0)