@@ -22,15 +22,15 @@ jobs:
22
22
matrix :
23
23
python : ['3.9', '3.10', '3.11']
24
24
steps :
25
- - uses : actions/checkout@v3
25
+ - uses : actions/checkout@v4
26
26
with :
27
27
fetch-depth : 0
28
28
29
29
- name : Set pkgs_dirs
30
30
run : |
31
31
echo "pkgs_dirs: [~/.conda/pkgs]" >> ~/.condarc
32
32
- name : Cache conda packages
33
- uses : actions/cache@v3
33
+ uses : actions/cache@v4
34
34
env :
35
35
CACHE_NUMBER : 3 # Increase to reset cache
36
36
with :
@@ -60,12 +60,12 @@ jobs:
60
60
$CHANNELS \
61
61
conda-recipe
62
62
- name : Upload artifact
63
- uses : actions/upload-artifact@v3
63
+ uses : actions/upload-artifact@v4
64
64
with :
65
65
name : ${{ env.PACKAGE_NAME }} ${{ runner.os }} Python ${{ matrix.python }}
66
66
path : /usr/share/miniconda/conda-bld/linux-64/${{ env.PACKAGE_NAME }}-*.tar.bz2
67
67
- name : Upload wheels artifact
68
- uses : actions/upload-artifact@v3
68
+ uses : actions/upload-artifact@v4
69
69
with :
70
70
name : ${{ env.PACKAGE_NAME }} ${{ runner.os }} Wheels Python ${{ matrix.python }}
71
71
path : ${{ env.WHEELS_OUTPUT_FOLDER }}${{ env.PACKAGE_NAME }}-*.whl
@@ -79,18 +79,18 @@ jobs:
79
79
env :
80
80
conda-bld : C:\Miniconda\conda-bld\win-64\
81
81
steps :
82
- - uses : actions/checkout@v3
82
+ - uses : actions/checkout@v4
83
83
with :
84
84
fetch-depth : 0
85
- - uses : conda-incubator/setup-miniconda@v2
85
+ - uses : conda-incubator/setup-miniconda@v3
86
86
with :
87
87
auto-activate-base : true
88
88
conda-build-version : " *"
89
89
activate-environment : true
90
90
python-version : ${{ matrix.python }}
91
91
92
92
- name : Cache conda packages
93
- uses : actions/cache@v3
93
+ uses : actions/cache@v4
94
94
env :
95
95
CACHE_NUMBER : 3 # Increase to reset cache
96
96
with :
@@ -109,12 +109,12 @@ jobs:
109
109
OVERRIDE_INTEL_IPO : 1 # IPO requires more resources that GH actions VM provides
110
110
run : conda build --no-test --python ${{ matrix.python }} -c intel -c conda-forge --override-channels conda-recipe
111
111
- name : Upload artifact
112
- uses : actions/upload-artifact@v3
112
+ uses : actions/upload-artifact@v4
113
113
with :
114
114
name : ${{ env.PACKAGE_NAME }} ${{ runner.os }} Python ${{ matrix.python }}
115
115
path : ${{ env.conda-bld }}${{ env.PACKAGE_NAME }}-*.tar.bz2
116
116
- name : Upload wheels artifact
117
- uses : actions/upload-artifact@v3
117
+ uses : actions/upload-artifact@v4
118
118
with :
119
119
name : ${{ env.PACKAGE_NAME }} ${{ runner.os }} Wheels Python ${{ matrix.python }}
120
120
path : ${{ env.WHEELS_OUTPUT_FOLDER }}${{ env.PACKAGE_NAME }}-*.whl
@@ -134,7 +134,7 @@ jobs:
134
134
135
135
steps :
136
136
- name : Download artifact
137
- uses : actions/download-artifact@v3
137
+ uses : actions/download-artifact@v4
138
138
with :
139
139
name : ${{ env.PACKAGE_NAME }} ${{ runner.os }} Python ${{ matrix.python }}
140
140
- name : Add conda to system path
@@ -161,7 +161,7 @@ jobs:
161
161
run : |
162
162
echo "pkgs_dirs: [~/.conda/pkgs]" >> ~/.condarc
163
163
- name : Cache conda packages
164
- uses : actions/cache@v3
164
+ uses : actions/cache@v4
165
165
env :
166
166
CACHE_NUMBER : 3 # Increase to reset cache
167
167
with :
@@ -219,10 +219,10 @@ jobs:
219
219
220
220
steps :
221
221
- name : Download artifact
222
- uses : actions/download-artifact@v3
222
+ uses : actions/download-artifact@v4
223
223
with :
224
224
name : ${{ env.PACKAGE_NAME }} ${{ runner.os }} Python ${{ matrix.python }}
225
- - uses : conda-incubator/setup-miniconda@v2
225
+ - uses : conda-incubator/setup-miniconda@v3
226
226
with :
227
227
auto-update-conda : true
228
228
conda-build-version : ' *'
@@ -262,7 +262,7 @@ jobs:
262
262
shell : pwsh
263
263
run : Get-Content -Path .\lockfile
264
264
- name : Cache conda packages
265
- uses : actions/cache@v3
265
+ uses : actions/cache@v4
266
266
env :
267
267
CACHE_NUMBER : 3 # Increase to reset cache
268
268
with :
@@ -326,12 +326,12 @@ jobs:
326
326
python : ['3.9', '3.10', '3.11']
327
327
steps :
328
328
- name : Download conda artifact
329
- uses : actions/download-artifact@v3
329
+ uses : actions/download-artifact@v4
330
330
with :
331
331
name : ${{ env.PACKAGE_NAME }} ${{ runner.os }} Python ${{ matrix.python }}
332
332
333
333
- name : Download wheel artifact
334
- uses : actions/download-artifact@v3
334
+ uses : actions/download-artifact@v4
335
335
with :
336
336
name : ${{ env.PACKAGE_NAME }} ${{ runner.os }} Wheels Python ${{ matrix.python }}
337
337
@@ -362,16 +362,16 @@ jobs:
362
362
python : ['3.9', '3.10', '3.11']
363
363
steps :
364
364
- name : Download artifact
365
- uses : actions/download-artifact@v3
365
+ uses : actions/download-artifact@v4
366
366
with :
367
367
name : ${{ env.PACKAGE_NAME }} ${{ runner.os }} Python ${{ matrix.python }}
368
368
369
369
- name : Download wheel artifact
370
- uses : actions/download-artifact@v3
370
+ uses : actions/download-artifact@v4
371
371
with :
372
372
name : ${{ env.PACKAGE_NAME }} ${{ runner.os }} Wheels Python ${{ matrix.python }}
373
373
374
- - uses : conda-incubator/setup-miniconda@v2
374
+ - uses : conda-incubator/setup-miniconda@v3
375
375
with :
376
376
auto-activate-base : true
377
377
activate-environment : " "
@@ -411,11 +411,11 @@ jobs:
411
411
# Needed to be able to run conda index
412
412
run : conda install conda-build python=${{ matrix.python }}
413
413
- name : Checkout dpctl repo
414
- uses : actions/checkout@v3
414
+ uses : actions/checkout@v4
415
415
with :
416
416
fetch-depth : 0
417
417
- name : Download artifact
418
- uses : actions/download-artifact@v3
418
+ uses : actions/download-artifact@v4
419
419
with :
420
420
name : ${{ env.PACKAGE_NAME }} ${{ runner.os }} Python ${{ matrix.python }}
421
421
- name : Add conda to system path
@@ -437,7 +437,7 @@ jobs:
437
437
run : |
438
438
echo "pkgs_dirs: [~/.conda/pkgs]" >> ~/.condarc
439
439
- name : Cache conda packages
440
- uses : actions/cache@v3
440
+ uses : actions/cache@v4
441
441
env :
442
442
CACHE_NUMBER : 3 # Increase to reset cache
443
443
with :
@@ -554,12 +554,12 @@ jobs:
554
554
CHANNELS : -c intel -c conda-forge --override-channels
555
555
steps :
556
556
- name : Checkout dpctl repo
557
- uses : actions/checkout@v3
557
+ uses : actions/checkout@v4
558
558
with :
559
559
fetch-depth : 0
560
560
- name : Cache array API tests
561
561
id : cache-array-api-tests
562
- uses : actions/cache@v3
562
+ uses : actions/cache@v4
563
563
env :
564
564
ARRAY_CACHE : 3
565
565
with :
@@ -578,7 +578,7 @@ jobs:
578
578
git clone --recurse-submodules https://github.com/data-apis/array-api-tests array-api-tests
579
579
cd array-api-tests
580
580
- name : Download artifact
581
- uses : actions/download-artifact@v3
581
+ uses : actions/download-artifact@v4
582
582
with :
583
583
name : ${{ env.PACKAGE_NAME }} ${{ runner.os }} Python ${{ matrix.python }}
584
584
- name : Add conda to system path
@@ -605,7 +605,7 @@ jobs:
605
605
run : |
606
606
echo "pkgs_dirs: [~/.conda/pkgs]" >> ~/.condarc
607
607
- name : Cache conda packages
608
- uses : actions/cache@v3
608
+ uses : actions/cache@v4
609
609
env :
610
610
CACHE_NUMBER : 3 # Increase to reset cache
611
611
with :
@@ -672,7 +672,7 @@ jobs:
672
672
run : echo "::notice ${{ env.MESSAGE }}"
673
673
- name : Post result to PR
674
674
if : ${{ github.event.pull_request && !github.event.pull_request.head.repo.fork }}
675
- uses : mshick/add-pr-comment@v1
675
+ uses : mshick/add-pr-comment@v2
676
676
with :
677
677
message : |
678
678
${{ env.MESSAGE }}
@@ -688,7 +688,7 @@ jobs:
688
688
run :
689
689
shell : bash -el {0}
690
690
steps :
691
- - uses : conda-incubator/setup-miniconda@v2
691
+ - uses : conda-incubator/setup-miniconda@v3
692
692
with :
693
693
run-post : false
694
694
channel-priority : " disabled"
@@ -699,7 +699,7 @@ jobs:
699
699
run : conda install anaconda-client
700
700
701
701
- name : Checkout repo
702
- uses : actions/checkout@v3
702
+ uses : actions/checkout@v4
703
703
with :
704
704
repository : IntelPython/devops-tools
705
705
fetch-depth : 0
0 commit comments