@@ -15,15 +15,15 @@ jobs:
15
15
matrix :
16
16
python : ["3.9", "3.10", "3.11", "3.12"]
17
17
steps :
18
- - uses : actions/checkout@v2
18
+ - uses : actions/checkout@v4
19
19
with :
20
20
fetch-depth : 0
21
21
22
22
- name : Set pkgs_dirs
23
23
run : |
24
24
echo "pkgs_dirs: [~/.conda/pkgs]" >> ~/.condarc
25
25
- name : Cache conda packages
26
- uses : actions/cache@v2
26
+ uses : actions/cache@v4
27
27
env :
28
28
CACHE_NUMBER : 0 # Increase to reset cache
29
29
with :
50
50
$CHANNELS \
51
51
conda-recipe
52
52
- name : Upload artifact
53
- uses : actions/upload-artifact@v2
53
+ uses : actions/upload-artifact@v4
54
54
with :
55
55
name : ${{ env.PACKAGE_NAME }} ${{ runner.os }} Python ${{ matrix.python }}
56
56
path : /usr/share/miniconda/conda-bld/linux-64/${{ env.PACKAGE_NAME }}-*.tar.bz2
@@ -64,16 +64,16 @@ jobs:
64
64
env :
65
65
conda-bld : C:\Miniconda\conda-bld\win-64\
66
66
steps :
67
- - uses : actions/checkout@v2
67
+ - uses : actions/checkout@v4
68
68
with :
69
69
fetch-depth : 0
70
- - uses : conda-incubator/setup-miniconda@v2
70
+ - uses : conda-incubator/setup-miniconda@v3
71
71
with :
72
72
auto-activate-base : true
73
73
activate-environment : " "
74
74
75
75
- name : Cache conda packages
76
- uses : actions/cache@v3
76
+ uses : actions/cache@v4
77
77
env :
78
78
CACHE_NUMBER : 3 # Increase to reset cache
79
79
with :
88
88
- name : Build conda package
89
89
run : conda build --no-test --python ${{ matrix.python }} -c intel -c defaults --override-channels conda-recipe
90
90
- name : Upload artifact
91
- uses : actions/upload-artifact@v2
91
+ uses : actions/upload-artifact@v4
92
92
with :
93
93
name : ${{ env.PACKAGE_NAME }} ${{ runner.os }} Python ${{ matrix.python }}
94
94
path : ${{ env.conda-bld }}${{ env.PACKAGE_NAME }}-*.tar.bz2
@@ -108,7 +108,7 @@ jobs:
108
108
109
109
steps :
110
110
- name : Download artifact
111
- uses : actions/download-artifact@v2
111
+ uses : actions/download-artifact@v4
112
112
with :
113
113
name : ${{ env.PACKAGE_NAME }} ${{ runner.os }} Python ${{ matrix.python }}
114
114
- name : Add conda to system path
@@ -135,7 +135,7 @@ jobs:
135
135
run : |
136
136
echo "pkgs_dirs: [~/.conda/pkgs]" >> ~/.condarc
137
137
- name : Cache conda packages
138
- uses : actions/cache@v2
138
+ uses : actions/cache@v4
139
139
env :
140
140
CACHE_NUMBER : 0 # Increase to reset cache
141
141
with :
@@ -175,10 +175,10 @@ jobs:
175
175
176
176
steps :
177
177
- name : Download artifact
178
- uses : actions/download-artifact@v2
178
+ uses : actions/download-artifact@v4
179
179
with :
180
180
name : ${{ env.PACKAGE_NAME }} ${{ runner.os }} Python ${{ matrix.python }}
181
- - uses : conda-incubator/setup-miniconda@v2
181
+ - uses : conda-incubator/setup-miniconda@v3
182
182
with :
183
183
auto-activate-base : true
184
184
activate-environment : " "
@@ -205,7 +205,7 @@ jobs:
205
205
conda create -n test_mkl_random ${{ env.PACKAGE_NAME }}=%PACKAGE_VERSION% python=${{ matrix.python }} -c ${{ env.GITHUB_WORKSPACE }}/channel ${{ env.CHANNELS }} --only-deps --dry-run > lockfile
206
206
more lockfile
207
207
- name : Cache conda packages
208
- uses : actions/cache@v3
208
+ uses : actions/cache@v4
209
209
env :
210
210
CACHE_NUMBER : 3 # Increase to reset cache
211
211
with :
0 commit comments